-
Notifications
You must be signed in to change notification settings - Fork 214
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
Nx console empty #1405
Comments
Can you try this? |
Ya I've had this same problem for a week or two now. That file exists in |
Just upgraded to nx 15.0.12. Same problem. My nx console = 17.25.0. |
btw I'm on |
yarn v1 classic for me |
Yes I get the same error. If I look in the Extension (host) logs I see
|
I have the same output as @jpaas |
Sorry @MaxKless this is on a private repo |
have you tried running |
So I discovered something today about this issue. Normally I launch VS Code by running However if I just launch VS Code as an app from the OS, the NX extension works fine.
|
I was able to fix it by reinstalling vs code. Now everything works. |
I've been trying a lot but I can't reproduce this. Would be very grateful for a repo or any additional information you have on this. |
I have the same issue. Can't share my repo though, it's private :) Tried Starting vscode from the OS launcher fixes it, rather than opening it from the terminal if that helps ... |
I've been having the same issue for a while. Opening folders form terminal via |
ditto on the extension launch failure from either it launches just fine when clicking on a launch icon though. I'm running Ubuntu 18, so this isn't a mac-specific issue. |
We still hear you all, and we're not ignoring this. But it's hard to track down this issue because we dont experience it ourselves. I tried on multiple computers with different OSs and I still haven't stumbled across this issue. I'm still going to keep my eyes opened and see if something comes up |
Unfortunately my repo is private also. When I display the Extensions Host log I get the same issue regarding 'nx/presets/npm.json' others have listed The pop up error is the same "command 'nxConsole.refreshWorkspace' not found". Running nx reset didn't help. Several months ago on a machine with a different OS (mac), I was getting the "command 'nxConsole.refreshWorkspace' not found". I was able to work around by it downgrading the nx console extension by a dot version or two. That workaround didn't work in this case. Yesterday I noticed I still had nx 14.x installed (don't remember exact version) so I migrated to the lastest version. This didn't help either, although I figured that was a longshot anyway. Is there any other info besides (below) which would be useful? Node : 14.17.1 nx : 15.3.2
|
I'm trying to isolate what it might be. Our private repo where this happens is a package-based repo with 1 react native app and 2 react apps + a react native library. We are right up-to-date with Nx 15.3.3. Our default app is the react native app. I just tried creating new nx repos using both the react native and react presets and I can't reproduce it. |
@vire @stelescuraul @sts125 @abitbetterthanyesterday are your repos package-based too? Have you all tried reinstalling VSCode too? :D |
@MaxKless I have an integrated repo with a few react apps, some react component libs, and a few plain old javascript libs. Until now, I didn't think this had anything to do with my repo, but rather my machine being screwed up, but I'm seeing the same issue on my mac now. Reinstalling vscode didn't fix it. Here's the exact error output, in case it differs from others:
|
@MaxKless yes and no, ours was package based until now but currently making the switch. I know I had issues before about our I will try to reinstall VsCode, and see if my colleague has the same issue. Will keep you updated. |
@MaxKless we use integrated repo in ours (also private, sorry).
Let me know what kind of info you need us to provide. |
I am also having this problem, Nx Console version 17.27.1 does not work properly here. It says:
But I checked and there is a nx/presets/core.json at the node_modules, also tried installed globally and it did not work. The only way to make this work is to downgrade the v17.23.1 version. There is no special reason for choosing that version, I just wanted one that works so I choose one random and it work lol. Later I can see which version introduced the problem. |
@danieldspx are you also starting VSCode through the CLI? |
Yes, always 😅 |
Hey I'm sorry that we still haven't found a solution here. |
I was seeing the exact same issue, for my private integrated repo, on both my Mac and Linux boxes. I'm currently at my mac, and it's working now! NX and all extensions => 15.3.2 I'll report back regarding my linux box when I have a chance. |
@vire @jpaas @danieldspx is this still happening for you? |
I just tried again. We're now up to nx 16.3.2. I opened the project with |
Same for me @MaxKless , everything working fine. Thanks for the support. |
In that case I'll close this issue. Thanks everyone for your assistance. |
Seems like this is still an issue... The package is present in my Things I tried and didn't work:
VSCodeVersion: 1.84.0 (user setup) NxNx Console v18.10.0 |
Having the same issue as @shyagamzo described |
Solved. Seems like I played with the layouts in my attempts to fix this and the panel disappeared. This did the final trick: Thanks Max. |
Thanks everyone! I'm locking this issue to prevent spam for all participants. If you're still encountering issues, please make new issues! |
might relate to #1197
(last working version
v17.23.2
)Steps to Reproduce
Failure Logs / Images / Videos
Environment
nx-console: v17.24.2
`vscode veersion: 1.73.0 (Universal)
The text was updated successfully, but these errors were encountered: