cnpm install中出现的问题

cnpm安装过程中提示optional install error: Package require os(darwin) not compatible with your platform(win32)解决方法:

输入命令行:cnpm rebuild node-sass
#不放心可以重新安装下
cnpm install

--------------------------------------------------------------------------------------------

vue 报错:Module build failed: Error: Cannot find module 'node-sass'
输入命令:cnpm install node-sass@latest

posted @ 2019-07-12 18:39  Lsever  阅读(3954)  评论(0编辑  收藏  举报