无法安装stylus-loader
来源:15-3 组件拆分(下)

huangxinbo
2017-01-03
是在ubuntu 16.04 x64
linux@linux-desktop:~/www/sell$ sudo npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.15: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN stylus-loader@2.4.0 requires a peer of stylus@>=0.52.4 but none was installed.
linux@linux-desktop:~/www/sell$ sudo npm install fsevents
npm ERR! Linux 4.4.0-57-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "fsevents"
npm ERR! node v6.9.2
npm ERR! npm v3.10.9
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents@1.0.15: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: x64
npm ERR! Please include the following file with any support request:
npm ERR! /home/linux/www/sell/npm-debug.log
linux@linux-desktop:~/www/sell$ ^C
linux@linux-desktop:~/www/sell$
1回答
-
ustbhuangyi
2017-01-04
升级npm,单独安装
00
相似问题