问题描述 :
platform unsupported [email protected] › [email protected] › [email protected] › cho [email protected] › fsevents@^1.1.2 Package require os(darwin) not compatible with you r platform(win32)
[fsevents@^1.1.2] optional install error: Package require os(darwin) not compati ble with your platform(win32)
Recently updated (since 2018-05-14): 13 packages (detail see file D:\code\Hbuild erProject\myadmin\myadmin\node_modules\.recently_updates.txt)
Today:
→ [email protected] › async@^2.4.1(2.6.1) (12:34:29)
→ [email protected] › html-minifier@^3.2.3(3.5.16) (02:41:46)
→ [email protected] › [email protected] › [email protected](3.3.26 ) (02:41:25)
→ [email protected] › caniuse-lite@^1.0.30000805(1.0.30000844) (12:01:05)
→ [email protected] › [email protected] › [email protected] › caniuse-db@^1.0 .30000634(1.0.30000844) (11:49:12)
→ webpack-bundle-analyzer@^2.9.0(2.13.0) (16:12:19)
如下图:
解决办法:
将报错的依赖重新安装一下;
npm/cnpm install babel-loader --save
然后cnpm install ,在重启下服务