You may receive a fix message that looks like the below when your npm node_modules folder for your project is out of date, with the advice "Your dependencies are out of date. Try reinstalling your dependencies. If the problem persists, one of your dependencies may be bundling outdated modules.".
To resolve this issue in the CLI:
- Navigate to your project folder
- Back up or delete your node_modules folder.
- Run:
npm install
to allow your dependencies to be rebuilt, which will resolve the message you see above.
Alternatively, you can also just delete/back-up your package-lock.json file and then execute an npm install
command