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

issue with overmind-devtools #529

Open
StartMeUp opened this issue Jul 8, 2021 · 4 comments
Open

issue with overmind-devtools #529

StartMeUp opened this issue Jul 8, 2021 · 4 comments

Comments

@StartMeUp
Copy link

StartMeUp commented Jul 8, 2021

Hi

My environment:
WSL 2, Ubuntu 20.04 LTS
node -v : v14.17.0
@vitejs/app react-ts template
"overmind": "^28.0.1",
"overmind-react": "^29.0.1",
NODE_ENV = test
devtools: true in createOvermind

While I wanted to try the devtools this is what I got in my console.

kris@Kris-HP:~/CODE/TEST/todo-frontend$ npx overmind-devtools@latest
/home/kris/.npm/_npx/3219/lib/node_modules/overmind-devtools/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

Also, the vs code extension is installed, set on port 3031, and I can't launch it:

kris@Kris-HP:~/CODE/TEST/todo-frontend$ Overmind Devtools: Start
Overmind: command not found

My browser console keeps throwing this error

react_devtools_backend.js:2560 OVERMIND DEVTOOLS: Not able to connect. You are trying to connect to "localhost:3031", but there was no devtool there. Try the following:
          - Make sure you are running the latest version of the devtools, using "npx overmind-devtools@latest" or install latest extension for VSCode
          - Close the current tab and open a new one
          - Make sure the correct port is configured in the devtools

If the mistake in on my part, I don't see what I get wrong. I hope this information will help you try to debug

@christianalfoni
Copy link
Member

Hm, I have. a feeling this is related to your Ubuntu environment, as I have not gotten any reports on other environments. I can do a quick search and update the deps, but not much more I can do than that 🤔

About the VSCode extension, that is launched from the VSCode Command Palette, not the command line 😄

@StartMeUp
Copy link
Author

thanks @christianalfoni. I missed the command palette bit.

So now, after typing Overmind Devtools: Start in the command palette, when I open localhost:3031, it says: Upgrade Required, and in VS CODE, the Overmind page that opened after the command shows nothing, whatever I do with my app.

I have v0.0.37 of vs code overmind devtools. Do you know what I should do ? Sorry to bother you, I really have no idea how to manage this issue.

@Yigityakut
Copy link

I'm having the same issue on my Windows 10. Any solution to this? I can't find anything on the internet about it.

@altereg0
Copy link

altereg0 commented Feb 9, 2023

I had the same problem - In VSCode, with an open project with remote development, there is also no connection to DevTools. I run the second VSCode, open an empty folder there and run DevTools there, which works fine. I don't know why-so. Probably some problems in VSCode

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

4 participants