运行Grunt文件时出错 [英] Error running Grunt file
问题描述
我收到以下错误:
致命错误:无法找到本地grunt。
如果您看到此消息,未找到Gruntfile或grunt
尚未在本地安装到您的项目中。有关
安装和配置grunt的更多信息,请参阅入门指南:
http://gruntjs.com/getting-started
我也从命令行运行了这个:
npm install -g grunt- cli
仍然相同。我缺少什么?
谢谢
嗨markgoldin,
请通过NuGet管理器安装它,请参考以下屏幕截图(右键单击项目 - >点击Manage NuGet Packages):
< p style ="">
此致,
奥斯卡
I am getting the following error:
Fatal error: Unable to find local grunt.
If you're seeing this message, either a Gruntfile wasn't found or grunt
hasn't been installed locally to your project. For more information about
installing and configuring grunt, please see the Getting Started guide:
http://gruntjs.com/getting-started
I also ran this from the command line:
npm install -g grunt-cli
Still the same. What am I missing?
Thanks
Hi markgoldin,
Please install it via NuGet manager, and please refer to following screenshot (right-click the project->click Manage NuGet Packages):
Sincerely,
Oscar
这篇关于运行Grunt文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!