Capstones

I am working on the Capstones project. After creating the Artist table in the migration.js file:
image
When I run the node migration.js I get this error:
Error: Cannot find module ‘sqlite3’
So I checked in the package.json file to see if sqlite3 was installed and it was. So not sure why this error pops up:/

Hi!

Not sure if this is the solution to your problem. But before I could install sqlite3 correctly I had to change the version in the package.json file to “sqlite3”: “^4.1.1”. After you changed that run ‘npm install sqlite3’ and it will install.

Goodluck!

this worked for me, thanks :+1: