shopify-starter-theme
shopify-starter-theme copied to clipboard
Updated package.json to include cross-env
This dependency install was necessary to run npm run dev on my mac.
i don't know why he didn't merge it yet, i had the same error
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