shopify-starter-theme icon indicating copy to clipboard operation
shopify-starter-theme copied to clipboard

Updated package.json to include cross-env

Open litholight opened this issue 4 years ago • 2 comments

This dependency install was necessary to run npm run dev on my mac.

litholight avatar Apr 05 '20 13:04 litholight

i don't know why he didn't merge it yet, i had the same error

benounnas avatar May 30 '20 09:05 benounnas

This fixed the errors experienced with the npm run watch command for me.

Just to add some context for people coming from Google, try this if you are receiving the following error when you attempt to run the npm run watch script: sh: cross-env: command not found

The hint that this is related to cross-env is in the following line: cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

jonnymarshall avatar Jun 26 '20 10:06 jonnymarshall