The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Unhandled rejection Error: EISDIR: illegal operation on a directory, open in:watching
While running any commands with npm it shows this error
Preformatted textUnhandled rejection Error: EISDIR: illegal operation on a directory, open in:watching
I tried all kind of solutions like
1-giving permissions to npm folder
2- Re install the whole node and npm in my mac
3- Remove all node_modules
4- Reboot my system
But no luck for me.
Here I made a vidoe to explain my issue
I wonder if you have something broken in your configuration file, did you try making any configuration changes recently? (e.g. using
npm config set)
Could you please attach your log file so we can see the error details?
2019-06-09T19_38_11_607Z-debug.log (6.2 KB)
I did not change anything . Please check the attachment . the log file
What do you see if you do
before you run the command?
I did , But no luck .
Please check this video
I find your video impossible to watch. Please use copy-and-paste and find the relevant error output. Specifically, we need the lines following “Unhandled rejection…” when run under sudo + with BLUEBIRD_DEBUG=1