Question

How can I upgrade Ghost with npm problem?

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.

Subscribe
Share

Submit an 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.