You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just came across an issue with how NPM runs in Windows and a way to work around it. Normally, if you install this via npm, it will create what are essentially wrappers to the commands you really want to call. In this case, we want to run flyway.cmd, but due to how npm pulls in the package, the node_modules/.bin folder gets 3 flyway executables [flyway, flyway.cmd, flyway.cmd.cmd]. Because of this, on windows, if you want to make use of this in your package.json scripts section, you have to use the .cmd.cmd script:
Just came across an issue with how NPM runs in Windows and a way to work around it. Normally, if you install this via npm, it will create what are essentially wrappers to the commands you really want to call. In this case, we want to run flyway.cmd, but due to how npm pulls in the package, the node_modules/.bin folder gets 3 flyway executables [flyway, flyway.cmd, flyway.cmd.cmd]. Because of this, on windows, if you want to make use of this in your package.json scripts section, you have to use the .cmd.cmd script:
The text was updated successfully, but these errors were encountered: