[ERROR] bower xxx解决方案

 

编译tez的时候出现如下报错:

[ERROR] bower ember-cli-shims#0.0.6           invalid-meta for:/tmp/appleyuchi/bower/1b3f6982d79d1ec37bf564c2aa592dce-9260-cAoRa4/bower.json
[ERROR] bower ember-cli-shims#0.0.6           invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["app-shims.js","test-shims.js"]
[ERROR] bower ember-cli-shims#0.0.6           invalid-meta for:/tmp/appleyuchi/bower/1b3f6982d79d1ec37bf564c2aa592dce-9260-cAoRa4/bower.json
[ERROR] bower ember-cli-shims#0.0.6           invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["app-shims.js","test-shims.js"]

麻蛋,完全看不懂,谷歌也查不到,怎么办额?????

 

最后让我猜对了,解决方案如下:

cnpm install bower
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章