Questions tagged [github-codespaces]
114 questions
11
votes
2 answers
GitHub Codespaces: how to set x86_64, AMD64, ARM64 platform?
First, the question: is there a way to choose the platform (e.g. x86_64, AMD64, ARM64) for a GitHub Codespace?
Here's what I've found so far:
Attempt 1 (not working):
From within GitHub.com, you can choose the "machine" for a Codespace, but the only…

ultraGentle
- 5,084
- 1
- 19
- 45
6
votes
2 answers
How preview a HTML file GitHub Codespaces?
Let's say I have this index.html file in GitHub Codespaces:
Hello world
Test text How can I preview the HTML file in GitHub Codespaces? Preferably on a VS code tab. EDIT: It turned out it's a bug in Brave Browser. The suggestions of…
Gábor Kiss-Vámosi
- 488
- 5
- 14
6
votes
1 answer
How do I connect to MongoDB, running in Github codespaces, using MongoDB Compass?
I'm trying out Github codespaces, specifically the "Node.js & Mongo DB" default settings.
The port is forwarded, and my objective is to connect with MongoDB Compass running on my local machine.
The address forwarded to 27017 is something like…

DauleDK
- 3,313
- 11
- 55
- 98
4
votes
0 answers
How to run Puppetter (Chromium) visibly in a github codespaces?
I have a problem when trying to run Puppeteer in visible mode in a GitHub Codespaces.
I guess because GitHub doesn't have a renderer as well as a local machine.
Is there any way to run Puppeteer, connect it to a port to make it visible or other…

ds.xowos
- 61
- 8
4
votes
2 answers
Debug HTML file with inline Javascript in GitHub Codespaces
I have created a *.html file with some inline javascript, like the following below:
// noprotect
function setup() {
createCanvas(windowWidth, windowHeight);
for (let y = 0; y < height; y++) {
for (let x = 0; x < width; x++) {
…

Carol.Kar
- 4,581
- 36
- 131
- 264
3
votes
0 answers
Codespaces .devcontainer fails for Android SDK
I'm trying to set up a Github Codespace for Android Development.
Codespace machine configuration:
VS Code through Browser (Chrome)
4 Core CPU, 8 GB RAM
Free tier Codespace (i.e. 15GB-month, etc.)
So to setup the codespace for Android dev., I used…

0xdead
- 55
- 5
3
votes
0 answers
How do I use sbt from a Github Codespace terminal where Scala was installed by Metals?
I am new to Scala development and would like to keep it entirely in the cloud. I am looking for the easiest way to get a fully functional workspace in a Github Codespace, including the Metals extension/language server, but also be able to use scala…

Rothenhouser
- 31
- 1
3
votes
0 answers
Prebuilding a docker image *within* a Github Codespace when the image relies on the organization's other private repositories?
I'm exploring how best to use Github Codespaces for my organization. Our dev environment consists of a Docker dev environment that we run on local machines. It relies on pulling other private repos we maintain via the local machine's ssh-agent. I'd…

David
- 31
- 1
3
votes
0 answers
How to duplicate a GitHub Codespace for use as a development template?
I have a Codespace with a bunch of development tools installed.
I'd like to use this Codespace as a template so that I can start new projects from there.
I can create a Dockerfile that installs the tooling, and then build a new Codespace from…

ultraGentle
- 5,084
- 1
- 19
- 45
2
votes
0 answers
GitHub CodeSpaces with JavaFX?
Introduction
Currently, I'm promgramming a project that use JavaFX, and I wanted to uses GitHub CodeSpaces with JavaFX, but I didn't found any documentation to do it.
Question
Somemone know if is possible to use GitHub CodeSpaces with JavaFX, if yes…

ThrowsError
- 1,169
- 1
- 11
- 43
2
votes
0 answers
How to setup Github codespaces with custom Docker setup?
My project consists out of two components.
┌────────────────┐
│ Docker compose │http ┌─────────┐
│ (http server, ├─────►│ │
│ sql server │ │ Go app │
│ etc.) │ │ │
└────────────────┘ └─────────┘
▲
…

Daniel Stephens
- 2,371
- 8
- 34
- 86
2
votes
0 answers
Multiple GitHub users for VSCode GitHub Codespaces extension
I work in/with several GitHub accounts. I would like to use a single VSCode desktop installation on Mac to connect to (or create) GitHub Codespaces in the different GitHub accounts.
However, I have only ever managed to connect to a single GitHub…

M Jensen
- 546
- 3
- 8
2
votes
0 answers
Postcommands not working properly in Github Codespaces
I want to create a codespace for python development with some post commands like:
creating a conda environment
activate it
installing ipkyernel and creating a kernel
install requirements.txt
However when I rebuild the container I dont have any…

Luis Valencia
- 32,619
- 93
- 286
- 506
2
votes
0 answers
GithubCodespaces - xdg-open not working for html files
Currently we are using Github Codespaces as part of our development flow (via VSCode Local) and on the language that we are running our app (Elixir), we have a command called open_browser(view) that should open a screenshot of the current UI on some…

PZiaugra
- 23
- 2
2
votes
0 answers
mysql client on github codespaces
I'm trying to install a mysql client on a devcontainer and was wondering if there's an easy way to get this up and running instead of adding a block of apt-get statements in the devcontainer docker file.

reactor
- 1,722
- 1
- 14
- 34