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

Installation fails with yarn v2 #813

Closed
AleVul opened this issue May 29, 2020 · 1 comment
Closed

Installation fails with yarn v2 #813

AleVul opened this issue May 29, 2020 · 1 comment

Comments

@AleVul
Copy link

AleVul commented May 29, 2020

Installation fails when trying to install a package that depends on amp-toolbox with yarn v2.

Error
Error: @ampproject/toolbox-optimizer tried to access dom-serializer, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

How to reproduce

  • setup a project with yarn v2
  • add nextjs as dep
@sebastianbenz
Copy link
Collaborator

This has been fixed with the v2.5 release from today. It'll also be in the next Next.js release.

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