1、npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
2、npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\browser-sync\node_modules\chokidar\node_modules\fsevents):这两个是啥意思?
3、
3、npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.14: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
这三个是啥意思?请大神们出来
是因为 fsevent是mac osx系统的,在win或者Linux下使用了 所以会有警告,忽略即可
我window系统安装的taro,全局装的,windows无法识别taro,总是报文件名、目录名或者卷标语法不正确。怎么办,找过这个文档,试过各种办法都没有办法。哪位大神能帮忙解答?
我安装完了,命令都找不到
跳过可以么
度娘的答案,试了虽然还有警告,但是页面能正常使用了,
1.在package.json文件中增加如下代码:
"stylus-loader": "^3.0.1","stylus": "0.52.4",12
然后回到命令窗口
输入
$npm install1
然后在输入
$npm run dev1
大功告成!!
来源:https://blog.csdn.net/zc639143029/article/details/72630449
手动创建软连接即可
ubuntu@ubuntu-B150MD-PRO-D4:~/postleaf$ sudo npm install gulp
npm WARN invalid config proxy=""
npm WARN invalid config Must be a full url with 'http://'
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN rm not removing /home/ubuntu/postleaf/node_modules/.bin/gulp as it wasn't installed by /home/ubuntu/postleaf/node_modules/gulp
npm WARN The package chalk is included as both a dev and production dependency.
npm WARN The package del is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ gulp@3.9.1
updated 1 package in 30.588s
解决方案
这是在项目安装的
ln -s /home/ubuntu/postleaf/node_modules/gulp /usr/local/bin/gulp
全局安装如下(由于nodejs是手动安装所以项目在家目录下)
ln -s /home/ubuntu/node-v8.2.1-linux-x64/bin/gulp /usr/local/bin/gulp
是因为 fsevent是mac osx系统的,在win或者Linux下使用了 所以会有警告,忽略即可
出自。。https://segmentfault.com/q/1010000008581828
sudo 执行 后面加上 -g 全局安装试试
你们的问题解决了,vue指令不能用,请告诉一下解决方法啊
问题三搞好遇到,请问有解决了的吗
安装不好使,就全局安装一下!
感觉node.js好不严谨 啊,一出警告,我都不好意思继续往下写程序了!
我也遇到了这个问题,但是vue没有安装成功,vue命令使用不了,是什么原因啊
谢谢哈
出现npm WARN是正常的,只要不出现npm ERR就没事
我也遇到了同样的问题qwq