Closed yoavain-sundaysky closed 5 years ago
Version 0.1.6 works fine
I’ll test on Windows. Seems work for me on Mac and Linux.
On Sun, Apr 21, 2019 at 1:53 AM Yoav Vainrich notifications@github.com wrote:
Version 0.1.6 works fine
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/markgardner/node-flywaydb/issues/8#issuecomment-485232671, or mute the thread https://github.com/notifications/unsubscribe-auth/AADBSKWS5N7OZWM672T26EDPRQMQVANCNFSM4HHLE2VQ .
Same on Windows 10
v2.0.1 should fix this.
This used to work a couple of weeks ago, so maybe something in the new version broke it. Platform: Windows
See log below (happens on an environment with regular node installation. It's not related to my nvm)
` DOWNLOADING https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/maven-metadata.xml DOWNLOADING https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/5.2.4/flyway-commandline-5.2.4-windows-x64.zip events.js:174 throw er; // Unhandled 'error' event ^
Error: spawn C:\Users\username\AppData\Roaming\nvm\v10.15.3\node_modules\node-flywaydb\jlib\flyway-commandline-5.2.4\flyway-5.2.4\flyway ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19) at onErrorNT (internal/child_process.js:415:16) at process._tickCallback (internal/process/next_tick.js:63:19) Emitted 'error' event at: at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12) at onErrorNT (internal/child_process.js:415:16) at process._tickCallback (internal/process/next_tick.js:63:19) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! hub@1.0.0 flyway-info:
flyway --configfile=db/conf/flyway.js info
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the hub@1.0.0 flyway-info script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. `