是否可以在node.js中手动安装grunt.js 。
其实我的支持团队下载了grunt.js for windows机器并放置在我的机器上。
由于我的公司代理不能通过节点npm install -g grunt-cli 。
所以想要安装与下载的包相同的表单。
当主人改变来源咕噜/业力不检测它时,stream浪汉上的咕噜业力testing
Windows安装PhantomJS失败
不使用npm安装NodeJS包
在一个terminal启动多个工具,如grunt和http-server
来自Windows客户端的grunt-rsync失败
或者我们可以在没有node.js的情况下安装grunt.js?
Grunt和CasperJStesting – 在Windows上不能退出或终止(只能用CTRL + C)
如何用Nginx和本地tomcat设置grunt live-reload任务
在NPM package.json中与OS无关的grunt脚本命令
grunt服务器无法连接<gruntjs>
Nginx的节点和WEBrick的configuration
尽管手动安装模块非常容易,只需node_modules/grunt其放在node_modules/grunt或者直接引用它require('./path/to/grunt/directory') node_modules/grunt require('./path/to/grunt/directory') ,真正的问题是您还需要下载grunt的依赖关系和递归依赖关系。
└─┬ [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├─┬ [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ └── [email protected] ├── geto[email protected] ├─┬ [email protected] │ ├── [email protected] │ └── [email protected] ├─┬ [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ └── underscore[email protected] │ ├── [email protected] │ └── underscore[email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├─┬ [email protected] │ ├─┬ [email protected] │ │ ├── underscore@1.7.0 │ │ └── underscore[email protected] │ └── esprima@1.0.4 ├── [email protected] ├─┬ [email protected] │ ├── [email protected] │ └── [email protected] ├─┬ nop[email protected] │ └── [email protected] ├── [email protected] ├── underscore[email protected] └── [email protected]
所以要么安装所有这些软件包,要么安装在另一台机器上,然后复制它们,或者尝试使用像browserify,webpack或其他的软件包。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。