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

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

@baradhili

Description

@baradhili

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');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions