-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
When I try to deploy my app to heroku I get the following error:
0761 info [email protected] Failed to exec postinstall script
10762 error [email protected] postinstall: `mean postinstall`
10762 error Exit status 8
10763 error Failed at the [email protected] postinstall script.
10763 error This is most likely a problem with the mean-admin package,
10763 error not with npm itself.
10763 error Tell the author that this fails on your system:
10763 error mean postinstall
10763 error You can get their info via:
10763 error npm owner ls mean-admin
10763 error There is likely additional logging output above.
10764 error System Linux 3.8.11-ec2
10765 error command "/tmp/build_f4ca4d87-a101-41a2-9437-c36f366357e7/vendor/node/bin/node" "/tmp/build_f4ca4d87-a101-41a2-9437-c36f366357e7/vendor/node/bin/npm" "rebuild"
10766 error cwd /tmp/build_f4ca4d87-a101-41a2-9437-c36f366357e7
10767 error node -v v0.10.30
10768 error npm -v 1.4.21
10769 error code ELIFECYCLE
10770 verbose exit [ 1, true ]
Stats
MEAN Version: 0.4.0
Node Version: v0.10.26
Meanio cli 0.6.4
Mac
Packages:
Mean-admin
Mean-upload
This issue has already been addressed here issue:#501 but not solved completely .
Possible solutions I have tried but have failed:
- I already added "mean-admin": "linnovate/mean-admin".
- change "mean postinstall" to "bower install"
- "heroku config:set NODE_ENV=production" and "git push heroku master"
- Change "postinstall": "./node_modules/bower/bin/bower install"
- Remove the postinstall script,fails; also mean-upload fails.
- heroku repo:purge_cache
- Adding .npmignore file.
- Added
{
"storage": {
"packages": ".bower/cache",
"registry": ".bower/registry"
},
"tmp": ".bower/tmp"
}
9...still thinking...
Sites with the solutions that did not work for me:
stackoverflow-Deploy to heroku
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels