2017-03-08 28 views
0

我在安装centos中的dashing-j时遇到了问题,我按照以下步骤操作,但出现以下错误。[root @ ip-10-0-2 -15 vagrant]#npm install -g node -dashing-js npm WARN弃用[email protected]:Jade已更名为pug,请安装最新版本的帕格而不是玉 npm WARN弃用[email protected] :已弃用,请使用jstransformer npm WARN弃用[email protected]:此软件包已重新集成到npm中,现在已过期npm npm WARN弃用[email protected]:请更新至minimatch 3.0.2或更高以避免RegExp DoS问题 npm WARN不推荐使用[email protected]:graceful-fs v3.0.0,并且之前会在节点版本上失败> = v7.0 。请尽快更新至[email protected]^4.0.0。使用'npm ls graceful-fs'在树中找到它。 npm WARN弃用[email protected]:使用uuid模块代替 /usr/bin/dashing -js - >/usr/lib/node_modules/node-dashing -js/bin/dashing-js /usr/lib └─┬[email protected] └─┬[email protected] ├─┬[email protected] │└──[email protected] └─ ┬[email protected] └──[email protected]无法在linux中使用nodejs安装dashing-js

[根@ IP-10-0-2-15无业游民]#横飞-JS新sweet_dashboard_project :没有这样的文件或目录

+0

安装我使用下面的链接为横飞-JS https://github.com/jonnochoo/nuvo-dashing-js/ –

回答

0

确保你有np包含在您的PATH中的全局bin路径。

检查路径和横飞-JS由

echo $PATH 
which dashing-js 
+0

[根@ ip-10-0-2-15 vagrant]#echo $ PATH /sbin:/ bin:/ usr/sbin:/ usr/bin [root @ ip-10-0-2-15 vagrant]#which dashing- js /bin/dashing-js –

+0

做dashing-js需要一个文件夹来创建befor吗?你可以试试'mkdir sweet_dashboard_project'和''dashing -js new sweet_dashboard_project'再次 –

+0

[root @ ip-10-0-2-15 vagrant]#npm config获取前缀 /usr –