2015-10-15 33 views
1

當我嘗試在Heroku上推送一個ember-cli項目時,我遇到了問題。 這是返回給我的日誌。鮑爾錯誤推向Heroku時:鮑爾ENOTDIR ENOTDIR,而不是一個目錄'/ tmp/build_xxx/bower_components

Total 0 (delta 0), reused 0 (delta 0) 
remote: Compressing source files... done. 
remote: Building source: 
remote: 
remote: -----> Fetching custom git buildpack... done 
remote: -----> Ember CLI app detected 
remote: -----> Exporting config vars to environment 
remote: -----> Building environment: production 
remote: -----> Requested node range: 0.12.7 
remote: -----> Resolved node version: 0.12.7 
remote: -----> Downloading and installing node 
remote: -----> Using default npm version: 2.11.3 
remote: -----> Downloading and installing nginx 
remote: -----> Adding boot script 
remote: -----> Copying configs 
remote: -----> Creating node_modules cache directory 
remote: -----> Creating bower_components cache directory 
remote: -----> Installing bower which is required by other dependencies 
remote:  [email protected] node_modules/bower 
remote: -----> Pruning cached dependencies not specified in package.json 
remote: -----> Pruning cached bower dependencies not specified in bower.json 
remote:  bower ENOTDIR  ENOTDIR, not a directory '/tmp/build_7092e0e145a6f8787208ecf8b53c932a/bower_components' 
remote: 
remote: !  Push rejected, failed to compile Ember CLI app 
remote: 
remote: Verifying deploy.... 
remote: 
remote: ! Push rejected to my-app 

我試過用heroku-repo清除緩存但仍然是同樣的問題。

如果我用ember build編譯項目,沒有問題。只是消息:

bower invalid-meta ember is missing "ignore" entry in bower.json 

此前的部署工作。

回答