cerebral / overmind

Overmind - Frictionless state management

Home Page:https://overmindjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

issue with overmind-devtools

StartMeUp opened this issue · comments

commented

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

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 😄

commented

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.

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

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