Reputation: 57
When I restarted my VPS and tried to start Ghost with 'npm start --production', I got this error. I tried to remove node_modules and reinstall them, but didn't fix it. I can only find node-v11-linux-x64 but not node-v14-linux-x64.
Any suggestion?
Upvotes: 3
Views: 5819
Reputation: 3186
Try the following:
npm install sqlite3
It's possible that you switch nodejs version and therefore the binding has been left from the previous version (i.e. v0.10.). The error you are facing suggests that you have nodejs version v0.12.. If that's the case, you can try switching nodejs version with nvm for example.
Upvotes: 0
Reputation: 502
It might be the node version. You might need to add the node 4.x ppa.
Upvotes: 1