question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sequelize dependency error 'Please install sqlite3 package manually'

See original GitHub issue

Got this error.

/Users/corto/mega/MyApp/node_modules/sequelize/lib/dialects/sqlite/connection-manager.js:24
    throw new Error('Please install sqlite3 package manually');
          ^
Error: Please install sqlite3 package manually
    at new ConnectionManager (/Users/corto/mega/MyApp/node_modules/sequelize/lib/dialects/sqlite/connection-manager.js:24:11)
    at new SqliteDialect (/Users/corto/mega/MyApp/node_modules/sequelize/lib/dialects/sqlite/index.js:12:28)
    at new Sequelize (/Users/corto/mega/MyApp/node_modules/sequelize/lib/sequelize.js:233:18)
    at Object.<anonymous> (/Users/corto/mega/MyApp/build/webpack:/data/sequelize.js:13:19)
    at __webpack_require__ (/Users/corto/mega/MyApp/build/webpack:/webpack/bootstrap 6d1086b2a4d5e521e79e:19:1)
    at Object.module.exports.Object.defineProperty.value (/Users/corto/mega/MyApp/build/webpack:/data/models/index.js:10:1)
    at __webpack_require__ (/Users/corto/mega/MyApp/build/webpack:/webpack/bootstrap 6d1086b2a4d5e521e79e:19:1)
    at Object.<anonymous> (/Users/corto/mega/MyApp/build/webpack:/core/passport.js:18:1)
    at __webpack_require__ (/Users/corto/mega/MyApp/build/webpack:/webpack/bootstrap 6d1086b2a4d5e521e79e:19:1)
    at Object.<anonymous> (/Users/corto/mega/MyApp/build/webpack:/server.js:21:1)
    at __webpack_require__ (/Users/corto/mega/MyApp/build/webpack:/webpack/bootstrap 6d1086b2a4d5e521e79e:19:1)
    at /Users/corto/mega/MyApp/build/webpack:/webpack/bootstrap 6d1086b2a4d5e521e79e:39:1
    at Object.<anonymous> (/Users/corto/mega/MyApp/build/webpack:/webpack/bootstrap 6d1086b2a4d5e521e79e:39:1)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)

OSX 10.11 x64 No matter - node v4 or v5 still got this error

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:42 (1 by maintainers)

github_iconTop GitHub Comments

60reactions
langpavelcommented, Apr 27, 2016

Citation from nodejs.org blog for v6.0.0

The release notes below are annotated with the main breaking changes that warrant the jump to v6. Note that because this new version of Node.js is shipping with a new version of V8, you will need to recompile any native addons you have already installed or you will receive a runtime error when trying to load them. Use npm rebuild or simply remove your node_modules directory and npm install from scratch.

Does this help?

41reactions
bhushankumarlcommented, Jul 23, 2016

After firing this command : npm rebuild

No, It’s working fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR: Please install sqlite3 package manually #11174
I initialized sequelize sequelize init and corrected config/config.json with data to connect to my sqlite db.
Read more >
Error: Please install sqlite3 package manually (Example)
In case someone gets this error. After following the instructions twice and getting stuck. and not getting the 'development.db' file created ...
Read more >
ERROR: "Please install sqlite3 package manually" when I ...
First install sequelize-cli globally. sudo npm install -g sequelize-cli. Then use the following ...
Read more >
Freshworks SDK (fdk) not getting installed throwing sqlite3 ...
Facing issues while installing the Freshdesk SDK (fdk), it asks to install sqlite3 package manually, upon installing it globally, ...
Read more >
Throw new Error(Please install ${moduleName} package ...
I'm trying to install it , but this says ( some of my errors , I can't type the ... sequelize dependency error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found