Next issue happens when I run npm run dev, I’m getting the following errors:
> email@example.com dev C:\wamp\www\gutentest\wp-content\plugins\jsforwp-example-blocks
> cross-env BABEL_ENV=default webpack –watch
‘cross-env’ is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! firstname.lastname@example.org dev: cross-env BABEL_ENV=default webpack --watch
npm ERR! Exit status 1
npm ERR! Failed at the email@example.com dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Sebastian\AppData\Roaming\npm-cache\_logs\2018-08-13T04_54_02_344Z-debug.log
I noticed the forum thread before me had the exact same error message. I wonder what we’re doing wrong!