[fsevents@^2.1.2] optional install error: Package require os(darwin) not compatible with your platfo

在进行Vue项目的安装依赖的时候出现了

[fsevents@^2.1.2] optional install error: Package require os(darwin) not compatible with your platform(win32)

[fsevents@^2.1.2] optional install error: Package require os(darwin) not compatible with your platfo_第1张图片

 

解决办法:

cnpm rebuild node-sass

[fsevents@^2.1.2] optional install error: Package require os(darwin) not compatible with your platfo_第2张图片

再次使用cnpm 进行安装

cnpm install

你可能感兴趣的:(JS)