PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
lib
/
commands
/
doctor
/
checks
const chalk = require('chalk'); const {SystemError} = require('../../../errors'); const taskTitle = 'Checking binary dependencies'; function binaryDeps(ctx, task) { if (!ctx.instance) { return task.skip('Instance not set'); } if (process.versions.node !== ctx.instance.nodeVersion) { const currentVersion = ctx.instance.version; throw new SystemError({ message: 'The installed node version has changed since Ghost was installed.', help: `Run ${chalk.green(`ghost update ${currentVersion} --force`)} to re-install binary dependencies.`, task: taskTitle }); } } module.exports = { title: taskTitle, task: binaryDeps, category: ['start'] };
[-] system-stack.js
[edit]
[-] install-folder-permissions.js
[edit]
[+]
..
[-] logged-in-ghost-user.js
[edit]
[-] validate-config.js
[edit]
[-] logged-in-user.js
[edit]
[-] check-permissions.js
[edit]
[-] binary-deps.js
[edit]
[-] folder-permissions.js
[edit]
[-] mysql.js
[edit]
[-] logged-in-user-owner.js
[edit]
[-] check-memory.js
[edit]
[-] check-directory.js
[edit]
[-] index.js
[edit]
[-] file-permissions.js
[edit]
[-] content-folder.js
[edit]
[-] node-version.js
[edit]