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

Missing dependency #80

Open
uki-strzelecki opened this issue Aug 29, 2022 · 0 comments
Open

Missing dependency #80

uki-strzelecki opened this issue Aug 29, 2022 · 0 comments

Comments

@uki-strzelecki
Copy link

Hi, I just stumbled upon this and tried it. I got an error about missing dependency:

.yarn/unplugged/styled-components-virtual-9691129a54/node_modules/styled-components/dist/styled-components.browser.esm.js:1:0
Module not found: styled-components tried to access react-is (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.

Required package: react-is
Required by: styled-components@virtual:dde1fece8d8008abee890dec5f02170cbc3b5cdb45cbb9d1ca588b2aa4603145e4ef83b240eb2a9151decb9c17e0a486ce3a63bf43859945391f42be84a31faf#npm:5.3.5 (via /.yarn/unplugged/styled-components-virtual-9691129a54/node_modules/styled-components/dist/)

Ancestor breaking the chain: babel-plugin-styled-components@virtual:9691129a54311d74830d740c933802844a8e85eee8626ffd8747a04d20f491beb3d342fdfc48789f23db385d47e5af24cec6536671e9ebffc31889eb0fa7cdd8#npm:2.0.7
Ancestor breaking the chain: react-drag-drop-files@virtual:dc3fc578bfa5e06182a4d2be39ede0bc5b74940b1ffe0d70c26892ab140a4699787750fba175dc306292e80b4aa2c8c5f68c2a821e69b2c37e360c0dff36ff66#npm:2.3.7

This is next.js project and is using yarn package manager with pnp.
yarn version: 3.2.1
node version: 17.9.1
next.js: 12.1.6

Installing dependency works.
Cheers

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

1 participant