Gruntjs 开始向Zurb基金会捐款 我有兴趣通过Guthub向Zurb基金会项目捐款。然而,我不知道如何构建这个项目。我已从中成功克隆了存储库

Gruntjs 开始向Zurb基金会捐款 我有兴趣通过Guthub向Zurb基金会项目捐款。然而,我不知道如何构建这个项目。我已从中成功克隆了存储库,gruntjs,zurb-foundation,Gruntjs,Zurb Foundation,当我从命令行运行grunt时,我收到一个错误,上面写着: grunt-cli: The grunt command line interface. (v0.1.11) Fatal error: Unable to find local grunt. Loading "Gruntfile.js" tasks...ERROR >> Error: Cannot find module 'highlight.js' Warning: Task "default" not found. U

当我从命令行运行
grunt
时,我收到一个错误,上面写着:

grunt-cli: The grunt command line interface. (v0.1.11)

Fatal error: Unable to find local grunt.
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'highlight.js'
Warning: Task "default" not found. Use --force to continue.
然后从命令行运行
npm install grunt
npm install grunt cli
。执行此操作后,我收到一个错误,该错误表示:

grunt-cli: The grunt command line interface. (v0.1.11)

Fatal error: Unable to find local grunt.
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'highlight.js'
Warning: Task "default" not found. Use --force to continue.
然而,当我打开Gruntfile.js时,我可以看到一个“默认”任务确实存在。我做错了什么?我很想知道如何在我的本地环境中建立Zurb基金会,这样我就可以开始贡献了。
<谢谢>

打开终端,在Zurb基金会文件夹中输入<代码> NPM I <代码>。此命令将安装所有模块,包括
highlight.js
。之后,再次尝试<代码> GRUNT < /COD>。

打开终端,在ZURB基金会文件夹中输入<代码> NPM I <代码>。此命令将安装所有模块,包括

highlight.js
。然后再试一次