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

Yarn 2: explicit webpack dependency #242

Open
mfrascati opened this issue Feb 17, 2021 · 1 comment
Open

Yarn 2: explicit webpack dependency #242

mfrascati opened this issue Feb 17, 2021 · 1 comment

Comments

@mfrascati
Copy link
Contributor

On yarn 2 install:

@nuxtjs/amp@npm:0.5.4 doesn't provide webpack (p734a6), requested by raw-loader

As of https://dev.to/arcanis/implicit-transitive-peer-dependencies-ed0 the webpack dep should be listed in package.json, or is there any reason this cannot be done?

Copy link
Member

farnabaz commented Feb 19, 2021

I'm not very familiar with yarn 2, but I think same error will remain even if we add webpack into peerDependencies. Because in Nuxt projects webpack is not lists as a direct dependency. webpack is part of @nuxt/webpack module.

Maybe @pi0 could help us on this

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