Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated package.json to include cross-env #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

litholight
Copy link

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

This dependency install was necessary to run npm run dev on my mac.
@benounnas
Copy link

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

@jonnymarshall
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants