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

Build fails : Cannot find module 'webpack/package.json' #9

Open
LoicUV opened this issue Jul 8, 2019 · 3 comments
Open

Build fails : Cannot find module 'webpack/package.json' #9

LoicUV opened this issue Jul 8, 2019 · 3 comments

Comments

@LoicUV
Copy link

LoicUV commented Jul 8, 2019

The build fails with version 2.0.1. Points to a line in svg-sprite-loader that was recently changed. Opened an issue on the repo explaining it. It does work with svg-sprite-loader@4.1.3 for those that want to use it until they fix this error.

@rphansen91
Copy link

@LoicUV How did you get it to work with svg-sprite-loader@4.1.3 that version is still using the getWebpackVersion method

@LoicUV
Copy link
Author

LoicUV commented Aug 26, 2019

@rphansen91 getWebpackVersion is a util function of svg-sprite-loader, the issue is with how the package.json file is imported. Here you can see the change between the working 4.1.3 and 4.1.4

@obetomuniz
Copy link

Updates?

viperfx07 pushed a commit to viperfx07/gatsby-starter-boilerplatev-kontent that referenced this issue Dec 12, 2019
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