npm doesn't work, get always this error -> Error: Cannot find module 'are-we-there-yet'

down vote

For me, I had to remove my project's node_modules folder. I then cleaned the cache just in case and did a fresh npm i and it was able to do the node-sass post-install and not error at are-we-there-yet missing.

If moving global node_modules doesn't work for you like in the solutions above try:

解决办法:

  1. Remove your project's local node_modules
    • In your project's root: rm -rf node_moduldes
  2. npm cache clean -f
  3. npm i

你可能感兴趣的:(VUE组件)