Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push rejected, failed to compile Node.js app. #29

Open
lkibe opened this issue Jul 13, 2020 · 1 comment
Open

Push rejected, failed to compile Node.js app. #29

lkibe opened this issue Jul 13, 2020 · 1 comment

Comments

@lkibe
Copy link

lkibe commented Jul 13, 2020

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] migrate: sequelize db:migrate
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] migrate script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

   npm ERR! A complete log of this run can be found in:
   npm ERR!     /tmp/npmcache.MpqiW/_logs/2020-07-13T06_36_35_375Z-debug.log
   ERROR: "migrate" exited with 1.
   npm ERR! code ELIFECYCLE
   npm ERR! errno 1
   npm ERR! [email protected] postinstall: `run-s migrate build`
   npm ERR! Exit status 1
   npm ERR! 
   npm ERR! Failed at the [email protected] postinstall script.
   npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
   
   npm ERR! A complete log of this run can be found in:
   npm ERR!     /tmp/npmcache.MpqiW/_logs/2020-07-13T06_36_35_433Z-debug.log

-----> Build failed

@yuryzaytsev
Copy link

yuryzaytsev commented Dec 14, 2020

You just need to specify a Node and NPM version in package.json. This works for me:

"engines": {
  "node": "10.x",
  "npm": "6.x"
}

With newer Node.js build will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants