node npm install -g cannot find module config-chain

config-chain is npm dependency, so chances are that your npm installation is broken.

Try to reinstall it, or use one of npm forks if npm itself isn't installable on your system for some reason.


Follow this suggest, i resolve it. "Who ever faces this problem, please do a clean install of ionic"

npm install -g ionic

If it got installed and you're still facing issues, easily install each missing module you face, globally example

npm install -g config-chain

This will re-install all missing modules, as this might have happened when you upgraded your node https://forum.ionicframework.com/t/cannot-find-module-config-chain/37130/7"

Tags:

Node.Js

Npm