-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
Yarn install doesn't work and results in failed install. #832
Comments
The db-migrate-mysql and db-migrate-sqlite3 packages need Python and node-gyp for compilation because they rely on native modules. Unlike Node.js, Yarn doesn't handle compilation on its own and depends on system dependencies instead. To support installation via Yarn, it's recommended to add a pre-install script in the package.json file. This script would ensure that the necessary system dependencies are installed before attempting to install the packages. |
I'm submitting a...
Current behavior
Can't currently install the package with YARN as it gives an error on node-gyp. (visual studio reference) as weird as it sounds.
Expected behavior
Install correctly with yarn and find db-migrate in terminal
Environment
The text was updated successfully, but these errors were encountered: