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

Webstorm NX Console Plugin does not wokring in yarn pnp #2296

Closed
ChoSeoHwan opened this issue Oct 28, 2024 · 3 comments
Closed

Webstorm NX Console Plugin does not wokring in yarn pnp #2296

ChoSeoHwan opened this issue Oct 28, 2024 · 3 comments
Assignees
Labels
type: bug Something isn't working

Comments

@ChoSeoHwan
Copy link

Current Behavior

"We couldn't find any projects in this workspace." notification in "NX Console UI".

And infinity loading when click "REFRESH WORKSPACE" button.

Expected Behavior

Running the NX Console plugin with Yarn PnP without issues.

Steps to Reproduce

  1. clone git repository
git clone https://github.com/ChoSeoHwan/nx-bug-report.git
  1. yarn install
yarn install
  1. enable nx console plugin in webstorm

Image

  1. Click "REFRESH WORKSPACE" button
  • stuck in loading

Image

Environment

  • OS : windows 10
  • Webstorm : Build #WS-242.23726.96, built on October 22, 2024
  • Node : v22.9.0
  • NX Console : 1.32.4
  • Yarn : 4.5.1
@ChoSeoHwan ChoSeoHwan added the type: bug Something isn't working label Oct 28, 2024
@MaxKless
Copy link
Collaborator

Hey! I can reproduce this, it definitely seems related to yarn pnp. I have an idea for fixing this, will report back :)

@MaxKless
Copy link
Collaborator

Here's a PR to fix it, will add some tests as well so we can make sure that yarn pnp keeps working in the future :)
#2301

@MaxKless MaxKless self-assigned this Oct 30, 2024
@MaxKless
Copy link
Collaborator

MaxKless commented Nov 4, 2024

fixed with #2301

@MaxKless MaxKless closed this as completed Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants