- Make sure the
npm-run-allis in your package.jsondevDependencies. - If
npm-run-allis 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!