db-migrate: command not found
See original GitHub issueAdded db-migrate to package.json and ran npm install. On terminal bash, I get db-migrate: command not found
after running. ./node_modules/db-migrate/bin/db-migrate
works though.
Issue Analytics
- State:
- Created 10 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Installation - db-migrate - Read the Docs
The following command will execute always your local version of db-migrate if you have installed a local version. If it does not find...
Read more >migrate command not found error even if migrate is installed
But when I try to execute the command migrate in terminal it gives me error as migrate command not found Please find image...
Read more >db-migrate - npm
Start using db-migrate in your project by running `npm i db-migrate`. There are 158 other projects in the npm registry using db-migrate.
Read more >[Solved]-rake db:migrate bundle: command not found-ruby
Your problem may be due to the version of Ruby you are running. I had a similar issue before, I tried everything possible(installing...
Read more >db-migrate/node-db-migrate - Gitter
I'm getting an error [ERROR] Error: Environment(s) 'all' not found. ... and using command: db-migrate up --config config/database.json -e all.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@codyhanson assume you meant
npm install -g db-migrate
to install globally (with the-g
)?facing the same issue with db-migrate using it globally or locally give me the same message
db-migrate: command not found
using windows,"npm":"^8.1.2", "node":"16.13.1", "pg": "^8.7.3", db-migrate": "^0.11.13", "db-migrate-pg": "^1.2.2"
when I addC:\Users\username\AppData\Roaming\npm\node_modules\db-migrate\bin
to my path environment variables the problem solved