-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 PnP support #731
Comments
Note that in the context of |
Sorry, I searched for "pnp" in issues and didn't find anything, and I forgot to search in PRs 😅 |
I believe it's been fixed a while ago, |
Sadly, this is still happening to me:
Although it seems that my case is a bit more complicated, but I am really out of options on what to do here. Using a monorepo, shared package accesses Actually, scratch that, it seems that adding "supports-color": "<9.0.0", in devDependencies of root package.json and nowhere else seems to work. I have no idea why. |
As indicated in the error message,
It's usually not a problem because
It works because of the fallback. Explicitly listing |
I'm trying to upgrade Babel to use Yarn PnP, but it has a problem with
debug
because itrequire()
ssupports-color
without declaring it inpackage.json
.Would it be possible to declare it as a
peerDependency
?Note that this issue isn't urgent (I currently have a workaround), but PnP will be enabled by default in yarn 2.
cc @arcanis
The text was updated successfully, but these errors were encountered: