Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Bootstrap step in instructs results in broken webpack.mix.js #202

Open
baradhili opened this issue Feb 1, 2019 · 0 comments
Open

Bootstrap step in instructs results in broken webpack.mix.js #202

baradhili opened this issue Feb 1, 2019 · 0 comments

Comments

@baradhili
Copy link

running php artisan grafite:bootstrap and then npm install and then npm run dev chokes on problems in webpack.js

specially `...

cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

/home/vagrant/code/node_modules/webpack-cli/bin/cli.js:235
throw err;
^

TypeError: Cannot read property 'js' of undefined
at Object. (/home/vagrant/code/webpack.mix.js:14:5)
...
`

turns out in the grafite:bootstrap step webpack.mix.js was changed.. it became
const { mix } = require('laravel-mix');

it should be const mix = require('laravel-mix');

KodeStar added a commit to KodeStar/Builder that referenced this issue Feb 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant