- Make sure the
npm-run-all
is in your package.jsondevDependencies
. - If
npm-run-all
is present in your package.json, runnpm i
- If not present install it, run:
npm i npm-run-all -D
If error is still present, follow these steps:
- Remove node_modules folder: run
rm -rf node_modules
- Install all dependecies: run
npm i
Hope this helps!