-
-
Notifications
You must be signed in to change notification settings - Fork 540
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
🐛 extends
using extenal packages not working with Yarn PnP
#3391
Comments
This is a non-goal for now |
So I'll have to use |
@NedcloarBR this is a non-goal, not a bug. We don't plan to support PNP for the time being. Feel free to open a discussion if you want to propose it. |
Okay thanks! |
We're using Yarn PnP as well and ran into the same issue. For what it's worth, we got it to work with a bit of config dancing. For example:
|
Thank you for the answer Looks like a Yarn PnP workspace: /home/nedcloarbr/Projects/teste
Could not resolve Biome using Yarn PnP in /home/nedcloarbr/Projects/teste: Error: Required unplugged package missing from disk. This may happen when switching branches without running installs (unplugged packages must be fully materialized on disk to work).
Missing package: @biomejs/cli-linux-x64-musl@npm:1.9.4
Expected package location: /home/nedcloarbr/Projects/teste/.yarn/unplugged/@biomejs-cli-linux-x64-musl-npm-1.9.4-5f09c730ea/node_modules/@biomejs/cli-linux-x64-musl/
Could not resolve Biome in the dependencies of workspace folder: /home/nedcloarbr/Projects/teste
Searching for Biome in PATH
Biome binary found at /home/nedcloarbr/.vscode-server/data/User/globalStorage/biomejs.biome/server/biome
Executing Biome from: /home/nedcloarbr/.vscode-server/data/User/globalStorage/biomejs.biome/server/biome
[cli-stdout] data 49
[cli] exit 0
Connecting to "/home/nedcloarbr/.cache/biome/biome-socket-1.9.4" ...
[Info - 6:26:16 PM] Server initialized with PID: 19490 I tried to install this dependency as unplugged and even so it didn't solve |
Glad to hear it on the extends working. Yeah, agreed on creating a different issue for the vscode ext. |
This isn't a bug. Biome doesn't support yarn pnp, that would be a feature. Feel free to open a discussion. |
Environment information
What happened?
I've created a package(
@nedcloarbr/biome-config
) that stores my biome settings.At the moment I'm updating/creating project templates, but when setting up a template that uses Yarn PnP, the package configuration file is not found by the biome. If I configure yarn's nodeLinker to node-modules, the configuration is created, but in this template I need to use PnP to save space.
Playground
Expected result
It should find the config from external package when using Yarn PnP.
Code of Conduct
The text was updated successfully, but these errors were encountered: