-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Cannot find module node-v44-win32-x64\node_sqlite3.node #5911
Comments
Hi @nevi-mesorry to hear you're having trouble installing Ghost. This is an environment issue, where |
Thanks @ErisDS, I traced the error back to sqlite, and though it downloads a binary and stores it under |
@nevi-me That is strange, but absolutely please raise that bug on mapbox/node-sqlite3 - feel free to post a link back here but it's not something we can fix :) |
I am having the same issue with NVM version 0.10.33. |
@OKNoah you have to remove the modules and rebuild from scratch. Gyp will use the version of Node that it finds, and will either build or download the appropriate binaries. |
Not sure if this relevant to your issue. But in my package.json I added "sqlite3": "^3.1.1" |
try:
That fixed my sqlite3 install. |
Hi, I still has same error after |
We have a troubleshooting guide for install issues. The most important/useful bit of which is general steps for recovering from a failure. Most of the time if an install fails and you try again using these steps, then you will find it works because the issue is with the reliability of npm. If you get repeated failures after retrying with these steps, then likely there is another problem with your environment and you can use the relevant part of the troubleshooting guide to get ideas for how to resolve these problems. If you need help, please use slack rather than GitHub as it's much easier to back-and-forth there than it is on GitHub. |
I found the answer on stackoverflow, cannot recall right now. On Wed, Mar 23, 2016 at 11:35 PM, Hannah Wolfe notifications@github.com
|
Ghost supports node version 4.2.0 also. I was having this error "ERROR: Cannot find module '../../node_modules/sqlite3/lib/binding/node-v46-linux-x64/node_sqlite3.node' " . I just installed node version 4.2.0 using nvm and installed sqlite3. The "binding" folder inside sqlite3 got a node-v47 folder instead of v46. So I just renamed the folder to v46 and downloaded the node_sqlite3.node file from here http://www.unifieddigital.com/node_modules/sqlite3/lib/binding/node-v46-linux-x64/ and replaced the file. THIS WORKED FOR ME.!!! |
@madhurgarg71 |
@cool4zbl Your welcome! |
I am having the same issue with NPM version 2.14.7 . anybody knows dat let me inform plz help this is my error info: Starting server Error: Cannot find module '/root/ffmpeg_sources/ffmpeg/mediacenterjs/node_modules/sqlite3/lib/binding/node-v46-linux-x64/node_sqlite3.node' |
@Chennaiah1990 Hey it's the same problem, just rename your directory to "node-v46-linux-x64" and inside that directory replace the "node_sqlite3.node" file with the file available here http://www.unifieddigital.com/node_modules/sqlite3/lib/binding/node-v46-linux-x64/ |
Hey! I have same problem, but I need the node_sqlite3.node for Windows, does anyone have the file for windows? Thanks. |
|
I'm running windows 10 and what solved it for me (after banging my head against the keyboard for 3 hours) was to first |
Switch to the appropriate node verison using nvm and do |
When running Ghost I get an error about a node_sqlite3 module not found
Issue Summary
I've been getting an error on Windows 8 & 10 since Ghost@0.5.x about a node_sqlite3 module not found. I am using Ghost as middleware on Express.js. I've tried looking at solutions on the net, but it hasn't worked. I upgraded to Ghost@latest[0.7.1] to see if problem goes away, but it still persists.
Steps to Reproduce
I have uninstalled and reinstalled Ghost, and still get the same problem. my
--msvs_version
to build gyp modules is 2013, which doesn't throw errors, so I'm not sure if that's the problem.Technical details:
The text was updated successfully, but these errors were encountered: