Skip to content

Instantly share code, notes, and snippets.

@damnDasha
Created April 15, 2020 14:23
Show Gist options
  • Save damnDasha/992aba54c882aba27aac21db98ac3a77 to your computer and use it in GitHub Desktop.
Save damnDasha/992aba54c882aba27aac21db98ac3a77 to your computer and use it in GitHub Desktop.
error
express-boilerplate@1.0.0 predeploy /Users/dashaakhten/Desktop/foodversity-server
> npm audit && npm run migrate:production
=== npm audit security report ===
found 0 vulnerabilities
in 1591 scanned packages
> express-boilerplate@1.0.0 migrate:production /Users/dashaakhten/Desktop/foodversity-server
> env SSL=true DATABASE_URL=$(heroku config:get DATABASE_URL) npm run migrate
> express-boilerplate@1.0.0 migrate /Users/dashaakhten/Desktop/foodversity-server
> postgrator --config postgrator-config.js
(node:94886) DeprecationWarning: Implicit disabling of certificate verification is deprecated and will be removed in pg 8. Specify `rejectUnauthorized: true` to require a valid CA or `rejectUnauthorized: false` to explicitly opt out of MITM protection.
[7:21:52 AM] version of database is: 0
[7:21:52 AM] migrating up to 3
[7:21:54 AM] running 001.do.create_foodversity_days.sql
Error: syntax error at or near ")"
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! express-boilerplate@1.0.0 migrate: `postgrator --config postgrator-config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the express-boilerplate@1.0.0 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! /Users/dashaakhten/.npm/_logs/2020-04-15T14_21_56_032Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! express-boilerplate@1.0.0 migrate:production: `env SSL=true DATABASE_URL=$(heroku config:get DATABASE_URL) npm run migrate`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the express-boilerplate@1.0.0 migrate:production 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! /Users/dashaakhten/.npm/_logs/2020-04-15T14_21_56_080Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! express-boilerplate@1.0.0 predeploy: `npm audit && npm run migrate:production`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the express-boilerplate@1.0.0 predeploy 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! /Users/dashaakhten/.npm/_logs/2020-04-15T14_21_56_121Z-debug.log
Dashas-Air:foodversity-server dashaakhten$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment