Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts/watch.js is not working on linux #15

Closed
6 tasks done
defunty opened this issue Jan 5, 2022 · 1 comment
Closed
6 tasks done

scripts/watch.js is not working on linux #15

defunty opened this issue Jan 5, 2022 · 1 comment

Comments

@defunty
Copy link
Contributor

defunty commented Jan 5, 2022

Check that this is really a bug

  • I confirm

Reproduction link

I don't know how to show reproducing the problem, but fs.watch with recursive isn't unavailable on linux as a fact.

nodejs/node#36005

Bug description

My environment is Ubuntu 20.04.3 LTS.
When I executed npm run watch:dev, this error has been thrown.

npm run watch:dev

> atropos-src@1.0.1 watch:dev
> cross-env NODE_ENV=development node scripts/watch

Watching file changes ...
node:fs:2245
    throw new ERR_FEATURE_UNAVAILABLE_ON_PLATFORM('watch recursively');
    ^

TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
    at new NodeError (node:internal/errors:371:5)
    at Object.watch (node:fs:2245:11)
    at Object.<anonymous> (/home/yusuke/Documents/work_project/app_defunty/portfolio/aaa/atropos/scripts/watch.js:47:4)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'ERR_FEATURE_UNAVAILABLE_ON_PLATFORM'
}

Atropos version

1.0.1

Platform/Target and Browser Versions

Ubuntu 20.04.3 LTS

Validations

  • Follow our Code of Conduct.
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Atropos issue and not a framework-specific issue.

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@nolimits4web
Copy link
Owner

fixed with #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants