Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angularjs 找不到插件_Angularjs_Gruntjs - Fatal编程技术网

Angularjs 找不到插件

Angularjs 找不到插件,angularjs,gruntjs,Angularjs,Gruntjs,我对JS生态系统非常陌生,所以请原谅我犯的一些愚蠢的错误。:-) 我正在尝试使用Yeoman生成AngularJS应用程序。我这样做了,但在做“咕噜发球”时,我得到的错误是: Running "serve" task jit-grunt: Plugin for the "clean" task not found. If you have installed the plugin already, please setting the static mapping. See https://g

我对JS生态系统非常陌生,所以请原谅我犯的一些愚蠢的错误。:-)

我正在尝试使用Yeoman生成AngularJS应用程序。我这样做了,但在做“咕噜发球”时,我得到的错误是:

Running "serve" task

jit-grunt: Plugin for the "clean" task not found.
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings

Warning: Task "clean:server" failed. Use --force to continue.

Aborted due to warnings.
我现在缺少哪个插件,如何安装

==更新===

按照建议安装grunt clean后,新错误为:

Running "serve" task
Loading "clean.js" tasks...ERROR
>> TypeError: grunt.registerHelper is not a function

Running "clean:server" (clean) task
Warning: grunt.helper is not a function Use --force to continue.

Aborted due to warnings.

请运行
npm安装

因为这将安装package.json中定义的所有依赖项

谢谢!它起作用了,但在我遇到这个错误后,我不得不使用
--force
警告:错误:找不到保存Bower软件包的位置。使用--force继续。
你知道如何解决这个问题吗?你能帮我解决我在评论中提到的错误吗?:-)为此,请运行“bower安装”,非常感谢您救了我!:-)太棒了,祝你一切顺利:)