Depending on your node version you may need to add & node
to your script in between NODE_ENV={env}
and the directory. For example:
"cross-env NODE_ENV=development & node node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
Add this to the wepack.mix.js file
mix.setPublicPath('./');