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 Dependencies #15

Closed
thomasoboyle opened this issue Oct 11, 2017 · 2 comments
Closed

Webpack Dependencies #15

thomasoboyle opened this issue Oct 11, 2017 · 2 comments

Comments

@thomasoboyle
Copy link

Hey gang!

I checked out the project and am really exited about contributing but ran into problems with webpack. Has anyone else seen anything similar when trying to run the project?

./bin/webpack-dev-server
 10% building modules 2/2 modules 0 active
Project is running at http://localhost:3035/
webpack output is served from http://localhost:8080/packs/
Content not from webpack is served from /*****/backpacker/public/packs
404s will fallback to /index.html
 78% advanced chunk optimization/********/Projects/backpacker/node_modules/@rails/webpacker/node_modules/extract-text-webpack-plugin/dist/index.js:188
            chunk.sortModules();
                  ^

TypeError: chunk.sortModules is not a function``` 
@thorvn
Copy link
Owner

thorvn commented Oct 11, 2017

I just reinstall and I don't have any problem.
Try:
sudo rm -rf node_modules && yarn install

@thomasoboyle
Copy link
Author

It worked!

sudo was the tick! Thank you!

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

2 participants