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

Webpack Issue #8

Open
SamarRizvi opened this issue May 24, 2017 · 3 comments
Open

Webpack Issue #8

SamarRizvi opened this issue May 24, 2017 · 3 comments

Comments

@SamarRizvi
Copy link

Please update the webpack config to comply with the latest webpack version, as by default the latest webpack and webpack-dev-server is installed. Due to the current webpack config, webpack dev serv er is unable to start.

@VivaLaPanda
Copy link

This is an issue for me as well.

@VivaLaPanda
Copy link

I have a temporary patch for this. The issue is that Yarn doesn't grab the correct version of webpack-dev-server. We just need to modify Yarn to do so.

First, go to your Yarn's global config (~/AppData/Local/Yarn/config/global on Windows). In that file, modify package.json to have these version numbers:

    "webpack": "^1.13.1",
    "webpack-dev-server": "^1.16.4",

Then delete both the webpack and webpack-dev-server from the node_modules in the same directory. Now just run yarn install. Yarn will fetch the old versions correctly. Now the serve command will work as intended.

Really though the generator just needs to be updated to new Webpack.

@bolora
Copy link

bolora commented Oct 4, 2017

That worked but I agree, the generator needs to be fixed... I don't know enough about Webpack/yarn - from the error it looks like a problem with the package.json for starters

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

No branches or pull requests

3 participants