Question

Installing Ghost ERROR: Exit status 1 / node index / ELIFECYCLE

Ever since DO changed there one click install for Ghost to cost $10 instead of $5 saying you can’t run ghost on a smaller droplet (which is total nonsense have a ghost blog running for 2-3 years on a $5 droplet.) I can’t even manually install ghost on any sized droplet. I have tried about 7 different tuts and Ubuntu 14/16 and I run into a similar error each time.

My last error. “Exit status 1” could mean the “Node Versions” is not supported but from what I can tell “node v6.9.5” is?

This isn’t even half my problems once I get ghost installed I need to find out how to move it a subfolder /blog/ and serve a static site from /.

npm ERR! Linux 4.4.0-78-generic
npm ERR! argv "/root/.nvm/v6.9.5/bin/node" "/root/.nvm/v6.9.5/bin/npm" "start" "--production"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! ghost@0.11.10 start: `node index`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ghost@0.11.10 start script 'node index'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ghost package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node index
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ghost
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ghost
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /var/www/ghost/npm-debug.log
Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@ac130nz Interesting. I don’t use Ghost, but that’s not a very help error log it has generated. Have you seen the updated version of the tutorial you’re using? https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-ghost-on-ubuntu-16-04 Which will also has a tutorial for installing Node.js using PPA. You might want to reset the droplet to a completely fresh Ubuntu 16.04 before starting.