krisbunda.com
Try this for NPM Build Setup Errors in Your Local WordPress Development Environment | Kris Bunda Design
I wanted to automate rebuilds in my local WordPress dev environment. But the NPM build command was only producing errors like "wp-scripts is not recognized as an internal or external command." Try adding this line to your Package.json file to fix it.