this post was submitted on 14 Nov 2023
1 points (100.0% liked)

System76

75 readers
3 users here now

A community for the System76 company, a manufacturer of laptops, desktops, and server computers that are both affordable and powered by Linux.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] bitspace@alien.top 1 points 1 year ago (1 children)

You need to edit the launch.json file to provide the path to your browser.

[–] CairoMaxima@alien.top 1 points 1 year ago (1 children)

This is what I have under launch.json file but, I still get the same error message : {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Chrome",
"request": "launch",
"type": "chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
},
{
"type": "chrome",
"request": "launch",
"name": "Open test.html",
"file": "/home/cyber_ace/Documents/frontEnd/test.html"
}
]
}

[–] bitspace@alien.top 1 points 1 year ago (1 children)

I don't use VSCode, but I don't see anything there that tells it where to find your browser.

Aside: this is not the best subreddit to ask this question. It has nothing to do with System76 products. You'll probably have better luck asking in a subreddit about VSCode.

[–] CairoMaxima@alien.top 1 points 1 year ago

Thanks, u/bitspace. I appreciate you taking the time to respond despite not using VSCode. I just made a post in the VSCode subreddit. Hopefully, I can solve this issue.