Report this

What is the reason for this report?

How can I upgrade Ghost with npm problem?

Posted on January 22, 2017

I followed the directions here to upgrade to the newest version of Ghost (0.11.4). When I got to run the command npm install --production, I get an error message that npm has unmet dependencies and that I am holding broken packages. What can I do? Thanks.



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!

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.

@geraldardito

Have you tried running

npm cache clean \
&& rm -rf node_modules \
&& npm install --production

That’s what is suggested if you’re met with unexpected results. Warnings are not so much an issue, unless they result in the installation failing and/or your installation of Ghost ceasing to function.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.