[fsevents@^1.0.0] optional install error: Package require os(darwin) not compatible with your platform(win32)
跟sass loader有关,运行一下命令:
cnpm rebuild node-sass
然后:
cnpm install
以上cnpm可以写成npm,cnpm只是使用了淘宝镜像,这样安装会快一些。
本文介绍了解决[fsevents@^1.0.0] optional install error问题的方法,该问题是由于包与当前平台不兼容导致。文章提供了具体的解决方案,包括使用cnpm或npm重新构建和安装node-sass。
[fsevents@^1.0.0] optional install error: Package require os(darwin) not compatible with your platform(win32)
跟sass loader有关,运行一下命令:
cnpm rebuild node-sass
然后:
cnpm install
以上cnpm可以写成npm,cnpm只是使用了淘宝镜像,这样安装会快一些。
1582
235
562
233
2317
831
5298

被折叠的 条评论
为什么被折叠?