[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
 

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