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 trial

JavaScript Install and Use Sequelize CLI

Alejandro Jiménez-Flores
seal-mask
.a{fill-rule:evenodd;}techdegree
Alejandro Jiménez-Flores
Full Stack JavaScript Techdegree Student 14,981 Points

Error: 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!

Emre K.
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Emre K.
Full Stack JavaScript Techdegree Graduate 16,409 Points

Thank 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.

5 Answers

Nick Huemmer
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Nick Huemmer
Front End Web Development Techdegree Graduate 26,840 Points

This 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.

josephpatrickpotot
josephpatrickpotot
18,010 Points

For 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
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Travis Alstrand
Treehouse Project Reviewer

I'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
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Tanner Funk
Full Stack JavaScript Techdegree Graduate 14,490 Points

This 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!