Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这个怎么使用啊。用Js 下载吗 #2

Open
yanggg1133 opened this issue Sep 16, 2018 · 5 comments
Open

这个怎么使用啊。用Js 下载吗 #2

yanggg1133 opened this issue Sep 16, 2018 · 5 comments

Comments

@yanggg1133
Copy link

这个怎么使用啊。用Js 下载吗

@yanggg1133
Copy link
Author

npm i
npm WARN [email protected] No repository field.

up to date in 0.599s

@yanggg1133
Copy link
Author

grunt Gruntfile.js
Warning: Task "Gruntfile.js" not found. Use --force to continue.

Aborted due to warnings.

@yanggg1133
Copy link
Author

windows
安装 node.js

npm install -g grunt-cli
Grunt Gruntfile.js

grunt不是内部或外部命令,也不是可运行程序

如果是Windows7系统,请将"C:\Users\AppData\Roaming\npm"加入到你的环境变量里面,就可以在任何目录下运行grunt命令

C:\Program Files\nodejs\node_global 加入到你的环境变量里面,就可以在任何目录下运行grunt命令

@centaury32
Copy link

windows
安装 node.js

npm install -g grunt-cli
Grunt Gruntfile.js

grunt不是内部或外部命令,也不是可运行程序

如果是Windows7系统,请将"C:\Users\AppData\Roaming\npm"加入到你的环境变量里面,就可以在任何目录下运行grunt命令

C:\Program Files\nodejs\node_global 加入到你的环境变量里面,就可以在任何目录下运行grunt命令

能详细说一下怎么安装吗

@wangsai
Copy link
Member

wangsai commented Feb 5, 2020

做这个工具的起因是以前 composer 安装依赖包的速度太慢,所以才做了这个预先打包的工具。但是现在情况有所改善,而且也有 composer/packagist 国内镜像,这个工具可以退休了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants