WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Cannot install/run nodemon

Open davetropeano opened this issue 10 years ago • 5 comments

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

davetropeano avatar Aug 03 '16 03:08 davetropeano

This is likely dupe of #216 because we don't have inotify support plumbed yet. This is definitely on our list.

dethoma avatar Aug 03 '16 16:08 dethoma

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

YasharF avatar Aug 15 '16 16:08 YasharF

This should now work in Windows 10 Insider builds >= 14942.

Closing here as this is also a dupe of #216

bitcrazed avatar Oct 07 '16 23:10 bitcrazed

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"})

computersarecool avatar Apr 29 '17 22:04 computersarecool

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.`

OverStruck avatar Nov 16 '18 03:11 OverStruck