tonycoco / heroku-buildpack-ember-cli

A Heroku Buildpack for Ember CLI Applications
MIT License
321 stars 121 forks source link

Build fails even after setting REBUILD_ALL #138

Closed afgallo closed 7 years ago

afgallo commented 7 years ago

Any ideas?

remote: Building source: remote: remote: -----> Ember CLI app detected remote: -----> Exporting config vars to environment remote: -----> Building environment: production remote: -----> Requested node range: 6.3.1 remote: -----> Resolved node version: 6.3.1 remote: -----> Downloading and installing node remote: -----> Using default npm version: 3.10.3 remote: -----> Downloading and installing nginx remote: -----> Adding boot script remote: -----> Copying configs remote: -----> Forcing rebuild of all node_modules. Pruning all node_modules. remote: -----> Forcing re-installation of all bower_components. Pruning all bower_components. remote: -----> Creating node_modules cache directory remote: -----> Creating bower_components cache directory remote: -----> Pruning cached dependencies not specified in package.json remote: -----> Installing dependencies remote: -----> Installing bower which is required by other dependencies remote: dashboard-aangaba@0.1.0 /tmp/build_ac4662e8a27b21afb591abd6dc0f95bf remote: └── bower@1.7.9 remote: remote: -----> Pruning cached bower dependencies not specified in bower.json remote: bower ember-cli-shims#0.1.1 invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["app-shims.js","test-shims.js"] remote: bower jquery.slimscroll#^1.3.7 invalid-meta The "description" is too long, the limit is 140 characters remote: bower jquery.slimscroll#^1.3.7 invalid-meta The "main" field cannot contain minified files remote: bower jquery.slimscroll#^1.3.7 invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["jquery.slimscroll.js","jquery.slimscroll.min.js"] remote: bower heatmap.js-amd#* invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["build/heatmap.js","plugins/gmaps-heatmap.js","plugins/leaflet-heatmap.js","plugins/svg-area-heatmap.js"] remote: bower ember#~2.8.0 invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["./ember.debug.js","./ember-template-compiler.js"] remote: bower AdminLTE#^2.3.3 invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes remote: bower jsrsasign#^5.0.1 invalid-meta The "description" is too long, the limit is 140 characters remote: bower ember#>=1.4 invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["./ember.debug.js","./ember-template-compiler.js"] remote: -----> Cleaning up node-gyp and npm artifacts remote: -----> Building Ember CLI application production distribution remote: /app/tmp/buildpacks/a5729bd5a7d78476edcd804854017a7bbe284683bc1ccc7c94a9cc4d46f1eb43ef5b65d61d5d577d49c7e11404d79fc095d5ae1ae8b35090de9aabd2c524cc6a/bin/compile: line 225: /tmp/build_ac4662e8a27b21afb591abd6dc0f95bf/node_modules/ember-cli/bin/ember: No such file or directory remote: ! Push rejected, failed to compile Ember CLI app. remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to scl-www.

afgallo commented 7 years ago

Fixed! Sorry, I'd missed the following step in the instructions:

heroku config:set NPM_CONFIG_PRODUCTION=false