Skip to content

Compiling with Laravel Mix #920

Discussion options

You must be logged in to vote

Because Laravel upgraded its base installation to include Laravel Mix 6, there could be an issue when running the canvas:ui Artisan command and compiling for the first time.

If you've run into this issue or something similar, let's step through a few files and make sure everything is right where it should be.

package.json

Check your package.json file and locate the scripts entry. If you're not using Laravel Mix 6, then you won't have access to the Mix CLI. Make sure the following blocks match the version you're running:

// Laravel Mix <v6

"dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --config=node_modules/larav…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by austintoddj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant