cnpm install error: Package require os(darwin) not compatible with your platform(win32) node.js
This problem is basically caused by the mismatch of the computer digit version
Solution:
① Execute command
cnpm rebuild node-sass
② Delete the original node_ modules
③ Execute command
cnpm install
Then run NPM run serve/dev/test
OK! Share a wave of usage! No, give me a private letter or reply to a message
Those who feel helpful can pay attention to a wave! Often share programming experience!
Similar Posts:
- JAVA Error: Failed to convert property value of type ‘java.lang.String‘ to required type ‘java.util.Date
- Failed to create symbolic link ‘/usr/bin/utserver’: File exists with Error: Cannot find…
- Node.js is upgraded from 12. X to 14. X. the original Vue project starts with an error
- NPM Install gulp-sass error: checking for Python executable “python2” in the PATH
- An error occurred during local report processing: report definition has an invalid target namespace
- [Solved] Ionic error: Error Initializing app: There was an error with the spawned command: npminstall
- Solutions to the problem that image webpack loader cannot be installed or the installation is stuck
- Vue project startup error: core JS/modules/ [How to Solve]
- Mac: How to Solve global module install error
- [Solved] ORB SLAM2 Compile Error: /usr/bin/ld:Couldnot Find -lEigen3::Eigen