Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/xpath/2.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_Yeoman_Bower - Fatal编程技术网

Angularjs 警告:无法读取属性';主要';未定义用途

Angularjs 警告:无法读取属性';主要';未定义用途,angularjs,gruntjs,yeoman,bower,Angularjs,Gruntjs,Yeoman,Bower,昨天工作得很好,但今天我在运行“grunt服务器”时突然出现以下错误: Running "bowerInstall:app" (bowerInstall) task Warning: Cannot read property 'main' of undefined Use --force to continue. Aborted due to warnings. 我甚至对上一次提交进行了硬重置,但仍然出现相同的错误。这可能是什么原因造成的 吉特回购:好吧,这很尴尬。一个简单的“bower安装

昨天工作得很好,但今天我在运行“grunt服务器”时突然出现以下错误:

Running "bowerInstall:app" (bowerInstall) task
Warning: Cannot read property 'main' of undefined Use --force to continue.

Aborted due to warnings.
我甚至对上一次提交进行了硬重置,但仍然出现相同的错误。这可能是什么原因造成的


吉特回购:好吧,这很尴尬。一个简单的“bower安装”就成功了

有更多关于它的详细描述。

不要将链接作为答案发布,而是添加一些文本来解释此答案如何帮助OP解决当前问题。谢谢