昨天工作正常,但今天我突然得到这个错误时运行'grunt服务器':
Running "bowerInstall:app" (bowerInstall) task
Warning: Cannot read property 'main' of undefined Use --force to continue.
Aborted due to warnings.
我甚至做了一个硬重置到以前的提交,但我仍然得到相同的错误。是什么原因造成的呢?
Git repo: https://github.com/oyvindhellenes/Corsane
好吧,这很尴尬。一个简单的"凉亭安装"就搞定了。
有更详细的说明https://github.com/stephenplusplus/grunt-wiredep/issues/36