I’m trying to install Ghost but I keep running into a SQlite3 error. Any idea how I could fix this?
I tried following the solution marked in a past thread. Not sure if I performed it correctly or not but it’s not working for me.
Found a development config but not a production config, running in development mode instead
Love open source? We’re hiring Node.js Engineers to work on Ghost full-time.
https://careers.ghost.org/product-engineer-node-js
✔ Checking system Node.js version - found v16.14.2
ℹ Ensuring user is not logged in as ghost user [skipped]
ℹ Checking if logged in user is directory owner [skipped]
✔ Checking current folder permissions
✔ Validating config
✔ Checking memory availability
✔ Checking binary dependencies
✖ Starting Ghost: ghost-local
A GhostError occurred.
Message: Ghost was able to start, but errored during boot with: Knex: run
$ npm install @vscode/sqlite3 --save
Cannot find module '@vscode/sqlite3'
Require stack:
- /home/cabox/workspace/Ghost/versions/4.44.0/node_modules/knex-migrator/node_modules/knex/lib/dialects/sqlite3/index.js
- /home/cabox/workspace/Ghost/versions/4.44.0/node_modules/knex-migrator/node_modules/knex/lib/knex-builder/internal/config-resolver.js
- /home/cabox/workspace/Ghost/versions/4.44.0/node_modules/knex-migrator/node_modules/knex/lib/knex-builder/Knex.js
- /home/cabox/workspace/Ghost/versions/4.44.0/node_modules/knex-migrator/node_modules/knex/lib/index.js
- /home/cabox/workspace/Ghost/versions/4.44.0/node_modules/knex-migrator/node_modules/knex/knex.js
- /home/cabox/workspace/Ghost/versions/4.44.0/node_modules/knex-migrator/lib/database.js
- /home/cabox/workspace/Ghost/versions/4.44.0/node_modules/knex-migrator/lib/index.js
- /home/cabox/workspace/Ghost/versions/4.44.0/core/server/data/db/state-manager.js
- /home/cabox/workspace/Ghost/versions/4.44.0/core/boot.js
- /home/cabox/workspace/Ghost/versions/4.44.0/ghost.js
- /home/cabox/workspace/Ghost/versions/4.44.0/index.js
Debug Information:
OS: Ubuntu, v16.04 LTS
Node Version: v16.14.2
Ghost Version: 4.44.0
Ghost-CLI Version: 1.19.2
Environment: development
Command: 'ghost start'
Additional log info available in: /home/cabox/.ghost/logs/ghost-cli-debug-2022-04-19T17_57_58_733Z.log
Try running ghost doctor to check your system for known issues.
You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.