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

migrate command doesn't work #12

Open
giorgiovinci opened this issue Jun 7, 2019 · 3 comments · Fixed by aldenquimby/flywaydb-cli#7
Open

migrate command doesn't work #12

giorgiovinci opened this issue Jun 7, 2019 · 3 comments · Fixed by aldenquimby/flywaydb-cli#7

Comments

@giorgiovinci
Copy link

I just followed the instructions.
I'm also new to flyway

MacOS 10.14.5
I'm using jenv to manage multiple java versions
java -version
java version "1.8.0_172"
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)

I don't have the conf/flyway.conf file.

yarn run v1.15.2
$ flyway -X -configFile=conf/flyway.conf migrate
Error: could not find libjava.dylib
Error: Could not find Java SE Runtime Environment.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.```
@phonglk
Copy link

phonglk commented Aug 23, 2019

Should use older version of flyway
.flyway = 5.2.4

@pzorin-neoflex
Copy link

Have the same problem when I run npm

env-cmd -f .env.dev flyway -configFiles=migration/conf/flyway.conf migrate

Error: could not find libjava.dylib
Error: Could not find Java SE Runtime Environment.

@aldenquimby
Copy link
Collaborator

aldenquimby commented Sep 15, 2023

This is fixed on the fork I just published: https://github.com/aldenquimby/flywaydb-cli/releases/tag/v0.11.2

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

Successfully merging a pull request may close this issue.

4 participants