wallabyjs / quokka

Repository for Quokka.js questions and issues
https://quokkajs.com
1.18k stars 31 forks source link

Please help, can't get quokka to work #879

Closed HalloweenGambit closed 1 year ago

HalloweenGambit commented 1 year ago

Issue description or question

I can't get quokka working on any file. It seems to be on some kind of endless loop. I tried removing all quokka files and reinstalling it and it didn't help either.

Screenshot 2023-06-21 at 12 26 45 AM Screenshot 2023-06-21 at 12 26 26 AM

Is this issue related to Quokka not outputting the expected results of your code?: Yes

Sample code

const hello = "Quokka Test";
console.log(hello);

Sample repository link

If the issue can not be reproduced just using the quokka file above (for example because it requires/imports some files from your project), please create a small repository where the issue can be reproduced.

Quokka.js Console Output

nothing is in the output

// paste your quokka console output here

Code editor version

Visual Studio Code v1.? Version: 1.79.2 (Universal) Commit: 695af097c7bd098fbf017ce3ac85e09bbc5dda06 Date: 2023-06-14T08:58:52.392Z (6 days ago) Electron: 22.5.7 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Darwin arm64 22.5.0

OS name and version

Mac OS Ventura 13.4

smcenlly commented 1 year ago

We have seen the same problem in the past, and it was caused by a specific VPN blocking Quokka from connecting to your computer using WebSockets bound to your local loopback adapter.

Are you using a VPN? If so, can you please try disabling your VPN to see if that fixes your problem?

If that does fix your problem, please refer to your VPN documentation on how to allow localhost WebSockets.

If you are not using a VPN, can you please try explicitly configuring your node version for Quokka to use (instructions in our docs) and see if that fixes your problem?

HalloweenGambit commented 1 year ago

Thanks, that was it!