Cannot install/run nodemon
nodemon is a common hot reloader for node applications. When I do an npm install -g nodemon I get the following:
npm WARN optional Skipping failed optional dependency /nodemon/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
I am running node v6.3.1, and npm v3.10.3.
Even though fsevents is listed as optional when I run nodemon I get an error:
[nodemon] 1.10.0
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node ./bin/www`
[nodemon] Internal watch failed: watch /mnt/c/Users/Dave/dev/c2 EPERM
This is likely dupe of #216 because we don't have inotify support plumbed yet. This is definitely on our list.
Please vote here to get it fixed in Windows 10 Bash: https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13469097-support-for-filesystem-watchers-like-inotify
This should now work in Windows 10 Insider builds >= 14942.
Closing here as this is also a dupe of #216
I am running the absolute latest version of Windows 10 (170424-221 atm) and I still have issues, in Bash as well I get:
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
I'm getting this on Windows 10 1809 (Built: 17763.134)
`npm WARN optional Skipping failed optional dependency /react-scripts/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN optional Skipping failed optional dependency /webpack-dev-server/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none was installed.`