Error message:
After nodejs upgrade, the Vue project starts with an error message, prompting the command “NPM rebuild node sass”
Solution:
1. Execute on the command line npm install -g cnpm –registry= https://registry.npm.taobao.org
2. Execute the command again: NPM rebuild node sass
3. Restart Vue project successfully
Similar Posts:
- NPM Install gulp-sass error: checking for Python executable “python2” in the PATH
- The yarn node sass installation reported an error
- [Solved] Module build failed: Error: Cannot find module ‘node-sass’
- Failed to create symbolic link ‘/usr/bin/utserver’: File exists with Error: Cannot find…
- [Solved] NPM Awalys Error: unable to verify the first certificate
- [Solved] Found bindings for the following environments: Windows 64-bit with Node.js 8.x
- cnpm install error: Package require os(darwin) not compatible with your platform(win32) node.js
- Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupport..
- Solutions to the problem that image webpack loader cannot be installed or the installation is stuck
- Solution to node sass error reporting