mysteriumnetwork / dvpn-desktop-tutorial

Simple tutorial to show how you can build your own dVPN desktop client based on Electron + React
4 stars 3 forks source link

Connecting to the supervisor... over and over. #2

Open chrisooo3 opened 2 years ago

chrisooo3 commented 2 years ago

Hi, I am trying to start the mysterium-vpn-desktop on ubuntu lts(started on virutal machine). When I run yarn dev, this message appears: Connecting to the supervisor... over and over. How can I solve this?

I would like to add that there is no socket called cd /var/run/myst.sock on my system. image

DaWe35 commented 6 months ago

Hi, how do you even got it running? I'm struggling for hours. First, I don't have node 16, so I tried to build in docker, but then got this:


dvpn-desktop-tutorial-nodejs-1  |     ERROR in /usr/app/src/renderer/components/Header/index.tsx
dvpn-desktop-tutorial-nodejs-1  |     [tsl] ERROR in /usr/app/src/renderer/components/Header/index.tsx(2,18)
dvpn-desktop-tutorial-nodejs-1  |           TS2307: Cannot find module './toplogo.png' or its corresponding type declarations.
Cyanoure commented 6 months ago

Hi, how do you even got it running? I'm struggling for hours. First, I don't have node 16, so I tried to build in docker, but then got this:


dvpn-desktop-tutorial-nodejs-1  |     ERROR in /usr/app/src/renderer/components/Header/index.tsx
dvpn-desktop-tutorial-nodejs-1  |     [tsl] ERROR in /usr/app/src/renderer/components/Header/index.tsx(2,18)
dvpn-desktop-tutorial-nodejs-1  |           TS2307: Cannot find module './toplogo.png' or its corresponding type declarations.

I've solved those error messages by removing export {}; and adding declare const __static: string to src/index.d.ts export {}; overrides everything that was defined in that file, I don't understand why did somebody put that at the end of the code.

Now I have the same message that @chrisooo3 faced with if I run it, but it builds successfully.

Cyanoure commented 6 months ago

Btw it works with yarn dev, only the build fails.