question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing ghost locally. Node version Error.

See original GitHub issue

I am using nvm for my node version manager, I read here http://support.ghost.org/supported-node-versions/ that the 0.10.40 is the reccomended version. Installed that and set it nvm to that version nvm install 0.10.40 & nvm use 0.10.40

I cloned the git repository and grunt cli installs fine npm install -g grunt-cli When I try to install ghost with npm install

Anderss-MacBook-Pro-2:ghost anderskitson$ npm install

ghost@0.7.4 preinstall /Users/anderskitson/sites/ghost npm install semver && node -e “require(‘./core/server/utils/startup-check.js’).nodeVersion()”

semver@5.0.3 node_modules/semver npm WARN deprecated lodash@0.9.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0 npm WARN deprecated lodash@1.0.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0 npm WARN engine escodegen@1.7.1: wanted: {“node”:“>=0.12.0”} (current: {“node”:“0.10.40”,“npm”:“1.4.28”})

typechecker@2.0.8 preinstall /Users/anderskitson/sites/ghost/node_modules/grunt-docker/node_modules/docker/node_modules/watchr/node_modules/bal-util/node_modules/typechecker node ./cyclic.js

utf-8-validate@1.2.1 install /Users/anderskitson/sites/ghost/node_modules/testem/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate node-gyp rebuild

CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/validation.node SOLINK_MODULE(target) Release/validation.node: Finished

utf-8-validate@1.2.1 install /Users/anderskitson/sites/ghost/node_modules/testem/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate node-gyp rebuild

CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/validation.node SOLINK_MODULE(target) Release/validation.node: Finished

bufferutil@1.2.1 install /Users/anderskitson/sites/ghost/node_modules/testem/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil node-gyp rebuild

CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/bufferutil.node SOLINK_MODULE(target) Release/bufferutil.node: Finished

bufferutil@1.2.1 install /Users/anderskitson/sites/ghost/node_modules/testem/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil node-gyp rebuild

CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/bufferutil.node SOLINK_MODULE(target) Release/bufferutil.node: Finished

sqlite3@3.1.1 install /Users/anderskitson/sites/ghost/node_modules/sqlite3 node-pre-gyp install --fallback-to-build

[sqlite3] Success: “/Users/anderskitson/sites/ghost/node_modules/sqlite3/lib/binding/node-v11-darwin-x64/node_sqlite3.node” is installed via remote npm ERR! Error: ENOENT, open ‘/Users/anderskitson/sites/ghost/node_modules/fs-extra/package.json’ npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Darwin 15.0.0 npm ERR! command “/Users/anderskitson/.nvm/v0.10.40/bin/node” “/Users/anderskitson/.nvm/v0.10.40/bin/npm” “install” npm ERR! cwd /Users/anderskitson/sites/ghost npm ERR! node -v v0.10.40 npm ERR! npm -v 1.4.28 npm ERR! path /Users/anderskitson/sites/ghost/node_modules/fs-extra/package.json npm ERR! code ENOENT npm ERR! errno 34 npm ERR! not ok code 0

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
pedro380085commented, Jan 8, 2016

This is a really bad idea after all, a lot of knowledge gets lost in Slack.

0reactions
anderskitsoncommented, Jan 8, 2016

@pedro380085 Yes i think that is the correct solution, I didn’t realize I was supposed to install production and then run in development mode my by just running npm start after.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Yarn error when i install ghost local
Hi, I tried to download ghost to local but every time I take this error : ✓ Checking system Node.js version - found...
Read more >
Always failed when installing ghost locally with an error ...
OS: macOS, v12.4. Node Version: v16.13.0. Ghost-CLI Version: 1.21.0. Environment: development. Command: 'ghost install local'.
Read more >
When I Install ghost with ghost-cli I get error - Stack Overflow
I installed nodejs with yum install nodejs and ghost-cli. I wanted to install ghost with ghost-cli. but when I enter the ghost install...
Read more >
How to Install Ghost CMS on Mac and PC - MakeUseOf
Run node -v and npm -v to check the version number of node and npm. check the version number of node and npm...
Read more >
How to install Ghost Blog v4.0+ for Theme Development
Step 1 - Install Node. Install the right version of Node to work with Ghost. nvm install 14.17.4. Set the node version to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found