`
$ npm run start
d5-extension-example-modules@1.0.0 start
NODE_ENV=development webpack -w --config webpack.config.js --progress
'NODE_ENV' is not recognized as an internal or external command,
operable program or batch file.
`
For resolve this issue you can follow as below .
npm install cross-env --save-dev
In packagage.json change the code
"scripts": { "start": "cross-env NODE_ENV=development webpack -w --config webpack.config.js --progress", "build": "cross-env NODE_ENV=production webpack --config webpack.config.js --progress", "test": "wp-scripts test-unit-js --config ./test-config/jest.config.js", "zip": "gulp zip", "reset-install": "rm -rf ./package-lock.json ./node_modules/ && npm install" }
The For every plateform it will work.
`
$ npm run start
'NODE_ENV' is not recognized as an internal or external command,
operable program or batch file.
`
For resolve this issue you can follow as below .
npm install cross-env --save-devIn packagage.json change the code
"scripts": { "start": "cross-env NODE_ENV=development webpack -w --config webpack.config.js --progress", "build": "cross-env NODE_ENV=production webpack --config webpack.config.js --progress", "test": "wp-scripts test-unit-js --config ./test-config/jest.config.js", "zip": "gulp zip", "reset-install": "rm -rf ./package-lock.json ./node_modules/ && npm install" }The For every plateform it will work.