I have an issue installaing Ghost locally on a windows 10 machine.
The installation seems to run just fine until it tries to start ghost.
This message occurs:
PS C:\Users\Niccolò\Documents\Sit\v6> ghost install local
√ Checking system Node.js version
√ Checking current folder permissions
√ Checking memory availability
√ Checking free space
√ Checking for latest Ghost version
√ Setting up install directory
√ Downloading and installing Ghost v3.40.5
√ Finishing install process
√ Configuring Ghost
√ Setting up instance
× Starting Ghost
One or more errors occurred.
- GhostError
Message:
C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\node_modules\knex\lib\client.js:235
throw new Error(${message}\n${e.message}
);
^
Error: Knex: run
$ npm install sqlite3 --save
Cannot find module ‘sqlite3’
Require stack:
- C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\node_modules\knex\lib\dialects\sqlite3\index.js
- C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\node_modules\knex\lib\knex.js
- C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\node_modules\knex\lib\index.js
- C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\node_modules\knex\knex.js
- C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\core\server\data\db\connection.js
- C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\core\server\index.js
- C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\core\index.js
- C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\index.js
at Client_SQLite3.initializeDriver (C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\node_modules\knex\lib\client.js:235:13)
at Client_SQLite3.Client (C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\node_modules\knex\lib\client.js:69:10)
at new Client_SQLite3 (C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\node_modules\knex\lib\dialects\sqlite3\index.js:17:10)
at Knex (C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\node_modules\knex\lib\knex.js:53:28)
at Object. (C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\core\server\data\db\connection.js:34:20)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at isDatabaseInitialisationRequired (C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\core\server\index.js:187:16)
at makeGhost (C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\core\index.js:13:12)
at Object. (C:\Users\Niccolò\Documents\Sit\v6\versions\3.40.5\index.js:27:1)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10)
Debug Information:
OS: Microsoft Windows 10 Pro, v10.0.18363
Node Version: v14.15.4
Ghost Version: 3.40.5
Ghost-CLI Version: 1.15.3
Environment: development
Command: ‘ghost install local’
Additional log info available in: C:\Users\Niccolò.ghost\logs\ghost-cli-debug-2021-01-22T13_35_25_890Z.log
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.
PS C:\Users\Niccolò\Documents\Sit\v6>
This topic seemed to be trited before but with different message response.
Can someone understand what is going on?