Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAlejandro Jiménez-Flores
Full Stack JavaScript Techdegree Student 14,981 PointsError: Please install sqlite3 package manually
In case someone gets this error. After following the instructions twice and getting stuck. and not getting the 'development.db' file created. Installing "sqlite3": "5.0.0" manually, did the trick for me.
you can do it in the command line. or edit the package.json file and run npm install again.
Good luck!
Nick Davies
Full Stack JavaScript Techdegree Student 13,040 PointsThis worked for me. TY :)
Pablo Calvo
13,044 PointsThanks for this
5 Answers
Nick Huemmer
Front End Web Development Techdegree Graduate 26,840 PointsThis was very helpful, thank you.
For those that might run into the same trouble - I was in the learning module Sequelize Model Validation and I was getting the error:
Error: Please install sqlite3 package manually
After deleting the node_modules folder and then going into the package.json
file and in the "dependencies"
I changed
"dependencies": {
...
"sqlite3": "^5.0.0"
}
to
"dependencies": {
...
"sqlite3": "5.0.0"
}
and it worked.
Johnny Austen
Front End Web Development Techdegree Graduate 35,494 PointsAlejandro you are a hero!
josephpatrickpotot
18,010 PointsFor those that are still not getting it and are still having issues with this error after following the steps mentioned on here, the most simple thing to do is install sqlite3 manually (there are lots of good instructional videos on youtube) then do the whole process again until you the development.db file.
Travis Alstrand
Treehouse Project ReviewerI'm dealing with this as well except I'm getting Error: Please install mysql2 package manually
I have deleted the node_modules folder, changed package.json to "sqlite3": "5.0.0" and am still getting this mysql2 error. Anythoughts? I've tried re-installing dependencies multiple times.
Tanner Funk
Full Stack JavaScript Techdegree Graduate 14,490 PointsThis happened to me... turns out I had not changed the dialect to "sqlite" from "mysql"... I know it's silly but that's what happened to me!
Emre K.
Full Stack JavaScript Techdegree Graduate 16,409 PointsEmre K.
Full Stack JavaScript Techdegree Graduate 16,409 PointsThank you! I also ran into this issue, and fixed it by removing only the "node_modules" folder from the project and running "npm install" command in the terminal while in the project directory.