nodemon is not installed properaly in my mac Ask Question


(Anurag Ranjan) #1

I am trying to install nodemon in my mac but I am getting error

I have used sudo npm i -g nodemon in my mac terminal

run it and got error below mentioned

Unhandled rejection Error: EISDIR: illegal operation on a directory, open '/Users/user/.npm/_cacache/content-v2/sha512/2d/c2'

Unhandled rejection Error: EISDIR: illegal operation on a directory, open '/Users/user/.npm/_cacache/content-v2/sha512/a6/05'

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/user/.npm/_logs/2019-02-18T20_33_24_007Z-debug.log
users-MacBook-Pro-3:~ user$ 

(John Gee) #2

The canonical bug and steps for an interim work-around are: Global installs (sudo npm i -g) fail on Mac after 6.5 upgrade. Works fine after 6.4.1 downgrade.


(system) closed #3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.