i am trying to install anugalr2 through npm command "npm install". but when it reaches some point that is in fsevets. the command prompt getting stuck. nothing is happening after that. PFb the cmd image
any suggestions /advice will be helpful
Update :
when i try with npm i --no-optional
. it is getting stuck at ""core-js" package
D:\Angular2\quickstart-master>npm i --no-optional
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or highe
to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: express 2.x series is deprecated
npm WARN deprecated [email protected]: connect 1.x series is deprecated
[ ......] - extract:core-js: sill pacote core-js@https://registry.n
To solve the issue, try removing the entire node_modules/ folder and the package-lock. json file. Then try running the npm install command again. That may fix the issue.
The FSEvents API in MacOS allows applications to register for notifications of changes to a given directory tree. It is a very fast and lightweight alternative to kqueue. This is a low-level library.
The main cause of the npm command not found error is that npm is not installed. You can run the command “npm -v” to check whether npm is installed. If not, I recommend you uninstall Node. js and then reinstall node.
As @RidgeA said in their comment...
Use npm i --no-optional
. This will not install optional dependencies, one of which is fsevents
. The reason it is getting stuck is because fsevents
is written for Mac (see https://www.npmjs.com/package/fsevents).
after i cleaned npm cache it worked for me
npm cache clean --force
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With