I meet some problems when I installing ghost.
I need help!
Thank you!
ghost install local
√ Checking system Node.js version
√ Checking current folder permissions
√ Checking memory availability
√ Checking for latest Ghost version
√ Setting up install directorystall local
√ Downloading and installing Ghost v3.24.0
√ Finishing install process
√ Configuring Ghost
√ Setting up instance
× Starting Ghost
One or more errors occurred.
- GhostError
Message:
D:\NodeProject\myGhost\versions\3.24.0\node_modules\knex\lib\client.js:236
throw new Error(${message}\n${e.message}
);
^
Error: Knex: run
$ npm install sqlite3 --save
Cannot find module ‘sqlite3’
Require stack:
- D:\NodeProject\myGhost\versions\3.24.0\node_modules\knex\lib\dialects\sqlite3\index.js
- D:\NodeProject\myGhost\versions\3.24.0\node_modules\knex\lib\knex.js
- D:\NodeProject\myGhost\versions\3.24.0\node_modules\knex\lib\index.js
- D:\NodeProject\myGhost\versions\3.24.0\node_modules\knex\knex.js
- D:\NodeProject\myGhost\versions\3.24.0\core\server\data\db\connection.js
- D:\NodeProject\myGhost\versions\3.24.0\core\server\index.js
- D:\NodeProject\myGhost\versions\3.24.0\core\index.js
- D:\NodeProject\myGhost\versions\3.24.0\index.js
at Client_SQLite3.initializeDriver (D:\NodeProject\myGhost\versions\3.24.0\node_modules\knex\lib\client.js:236:13)
at Client_SQLite3.Client (D:\NodeProject\myGhost\versions\3.24.0\node_modules\knex\lib\client.js:70:10)
at new Client_SQLite3 (D:\NodeProject\myGhost\versions\3.24.0\node_modules\knex\lib\dialects\sqlite3\index.js:18:10)
at Knex (D:\NodeProject\myGhost\versions\3.24.0\node_modules\knex\lib\knex.js:53:28)
at Object. (D:\NodeProject\myGhost\versions\3.24.0\core\server\data\db\connection.js:34:20)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Module.require (internal/modules/cjs/loader.js:1026:19)
at require (internal/modules/cjs/helpers.js:72:18)
at isDatabaseInitialisationRequired (D:\NodeProject\myGhost\versions\3.24.0\core\server\index.js:163:16)
at makeGhost (D:\NodeProject\myGhost\versions\3.24.0\core\index.js:13:12)
at Object. (D:\NodeProject\myGhost\versions\3.24.0\index.js:27:1)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47
Debug Information:
OS: Microsoft Windows 10 רҵ��, v10.0.19041
Node Version: v12.18.2
Ghost Version: 3.24.0
Ghost-CLI Version: 1.14.1
Environment: development
Command: ‘ghost install local’
、
Try running ghost doctor to check your system for known issues.
You can always refer to Ghost-CLI - A fully loaded tool for installation and configuration for troubleshooting.
The problem seems to be with the database, but wasn’t it fully configured during installation?
Asking for your help.Thank you!