Npm WARN deprecated cross-spawn-async@2.2.5


Hi :slight_smile:

I already have a post, but it’s closed. so that’s why I make this post.

I want to fix the npm WARN deprecated


ghost-mgr@server:/var/www/ghost$ ghost --version
Ghost-CLI version: 1.9.9
Ghost version: 2.12.0 (at /var/www/ghost)


ghost-mgr@server:/var/www/ghost$ sudo npm i -g ghost-cli@latest
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
/usr/local/bin/ghost -> /usr/local/lib/node_modules/ghost-cli/bin/ghost
└── ghost-cli@1.9.9


How to fix this warning: npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead

I know its not a problem for the site to run, but I tired of the warning

My homepage is: and its running fine - and it hosted by digitalocean, but im tired of the warning

Kind regards



It’s a warning from npm. If you want to fix it then you’d need to send a PR to Ghost-CLI upgrading whichever dependency is triggering the warning.


Sorry Hannah, I’m a noob. What did you mean with PR

Can you help me out here?


PR = GitHub Pull Request


Hi again :slight_smile:

Thanks for your reply!

I’m really a NOOB! Really!! - So please step by step.

Can someone guide me step by step to find the dependency that is triggering the warning?
and make a pull request?

I have tried to reinstall the hole server from digital ocean, and still, the same error when I running “sudo npm i -g ghost-cli@latest” efter end install

Thanks @dsecareanu

PR = GitHub Pull Request

Thanks for explaining this to me. :blush:

Any Help Will Be Appreciated


It’s not an error, it’s just a warning and is completely safe to ignore (you’ll probably see a lot of them over time :wink:) . It won’t go away from re-installing anything, the dependencies/code in need updating and a new Ghost-CLI version released, once a new release has been made public you would need to install the new version of Ghost-CLI for the warning to disappear.

If you’re up for going down a rather large node.js development rabbit hole here are some resources that may be useful if you want to help update the Ghost-CLI dependencies (in addition to the pull requests link above): (we use this as an alternative client to the npm registry)

If you only want to run your site, ignore the warning and be happy :slight_smile:


Hi :slight_smile:

Thanks for explaining me this in languages, so I understand it. :wink:

I will ignore the warning, and wait for an update

Kind regards


closed #9

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.