相关疑难解决方法(0)

节点包(Grunt)已安装但不可用

我试图建立一个GitHub的jQuery的UI库使用grunt,但运行后npm install我还是根据无法运行该命令自述文件.它只是给出No command 'grunt' found:

james@ubuntu:~/Documents/projects/ad2/lib/jquery-ui$ grunt build
No command 'grunt' found, did you mean:
 Command 'grun' from package 'grun' (universe)
grunt: command not found
james@ubuntu:~/Documents/projects/ad2/lib/jquery-ui$ npm ls
jquery-ui@1.9.0pre /home/james/Documents/projects/ad2/lib/jquery-ui
??? grunt@0.3.9 
? ??? async@0.1.18 
? ??? colors@0.6.0-1 
? ??? connect@1.8.7 
? ? ??? formidable@1.0.9 
? ? ??? mime@1.2.5 
? ? ??? qs@0.5.0 
? ??? dateformat@1.0.2-1.2.3 
? ??? glob-whatev@0.1.6 
? ? ??? minimatch@0.2.4 
? ?   ??? lru-cache@1.0.6 
? ??? gzip-js@0.3.1 …
Run Code Online (Sandbox Code Playgroud)

build package node.js npm

185
推荐指数
6
解决办法
13万
查看次数

标签 统计

build ×1

node.js ×1

npm ×1

package ×1