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

Error: No such driver found, please try to install it via npm install db-migrate-sqlite3 or npm install -g db-migrate-sqlite3 #566

Closed
1 of 3 tasks
lperichon opened this issue May 8, 2018 · 2 comments
Assignees
Labels

Comments

@lperichon
Copy link

lperichon commented May 8, 2018

I'm submitting a...

  • Bug report
  • Feature request
  • Question

Current behavior

Can't run or create migrations for sqlite3 on raspberry pi. Always get:

[ERROR] Error: No such driver found, please try to install it via npm install db-migrate-sqlite3 or npm install -g db-migrate-sqlite3

Expected behavior

[INFO] No migrations to run
[INFO] Done

Minimal reproduction of the problem with instructions

Tried installing db-migrate, db-migrate-sqlite3 and sqlite3 both locally and globally.
It works on development environment (ubuntu), but not on raspberry pi

What is the motivation / use case for changing the behavior?

Environment


db-migrate version: 0.11.1
db-migrate-sqlite3 with version: 0.2.1

Additional information:
- Node version: 8.9.4
- Platform:  Raspberry pi (Raspbian)

Others:
- sqlite3 with version: 3.1.13
@wzrdtales wzrdtales self-assigned this May 8, 2018
@wzrdtales
Copy link
Member

wzrdtales commented May 8, 2018

Seems like there is something going wrong. You will need to provide, however, a more sufficient amount of information, as I have nothing at all right now to reproduce or help you (and I do not have a rppi at hand but I know for a fact that db-migrate works there, but some drivers may not compile on arm, which could be the only problem).

First of all, please post all information including the OS version and the full output of the verbose run.

Next post the output of the following commands

ls -lah node_modules

node -e "require('db-migrate-sqlite3')"

@wzrdtales
Copy link
Member

Since you seem to have it fixed, what was the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants