Skip to content

Instantly share code, notes, and snippets.

@TondaHack
Created November 7, 2016 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TondaHack/fb32b27e33164067bc83d71fdc6755cf to your computer and use it in GitHub Desktop.
Save TondaHack/fb32b27e33164067bc83d71fdc6755cf to your computer and use it in GitHub Desktop.
api_1 | db.schema
api_1 | Flyway 4.0.3 by Boxfuse
api_1 |
api_1 |
api_1 | /src/db/index.js:43
api_1 | if (e) throw e;
api_1 | ^
api_1 |
api_1 | Error: Command failed: flyway -user=root -password= -url=jdbc:mysql://localhost -schemas=todo_list -locations=filesystem:/src/db/sql,filesystem:/src/db/dev migrate
api_1 | ERROR: Unable to obtain Jdbc connection from DataSource (jdbc:mysql://localhost) for user 'root': Could not connect to address=(host=localhost)(port=3306)(type=master) : Connection refused
api_1 |
api_1 | at ChildProcess.exithandler (child_process.js:202:12)
api_1 | at emitTwo (events.js:100:13)
api_1 | at ChildProcess.emit (events.js:185:7)
api_1 | at maybeClose (internal/child_process.js:850:16)
api_1 | at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
api_1 |
api_1 | npm info lifecycle todo_list@0.0.1~env-dev: Failed to exec env-dev script
api_1 | npm ERR! Linux 4.4.0-45-generic
api_1 | npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "env-dev"
api_1 | npm ERR! node v5.12.0
api_1 | npm ERR! npm v3.8.6
api_1 | npm ERR! code ELIFECYCLE
api_1 | npm ERR! todo_list@0.0.1 env-dev: `node db dev`
api_1 | npm ERR! Exit status 1
api_1 | npm ERR!
api_1 | npm ERR! Failed at the todo_list@0.0.1 env-dev script 'node db dev'.
api_1 | npm ERR! Make sure you have the latest version of node.js and npm installed.
api_1 | npm ERR! If you do, this is most likely a problem with the todo_list package,
api_1 | npm ERR! not with npm itself.
api_1 | npm ERR! Tell the author that this fails on your system:
api_1 | npm ERR! node db dev
api_1 | npm ERR! You can get information on how to open an issue for this project with:
api_1 | npm ERR! npm bugs todo_list
api_1 | npm ERR! Or if that isn't available, you can get their info via:
api_1 | npm ERR! npm owner ls todo_list
api_1 | npm ERR! There is likely additional logging output above.
api_1 |
api_1 | npm ERR! Please include the following file with any support request:
api_1 | npm ERR! /src/npm-debug.log
shareyourbackpack_api_1 exited with code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment