148 questions
0
votes
0
answers
69
views
How to view the Docker log in GitHub Codespaces?
I cannot find a way to view the Docker log output for a Devcontainer that is launched in GitHub Codespaces.
I found the Terminal, but that is a terminal inside the container.
I found the DebugConsole, ...
1
vote
2
answers
79
views
Pyscript terminal worker not executing past input()
I'm trying to add a python terminal onto a website using pyscript to run programs I've written using
<script type="mpy" terminal worker src="subrepo/folder/program.py"></...
0
votes
0
answers
118
views
How can I use %%scalene in Jupyter Notebook on GitHub Codespaces?
I'm trying to use the %%scalene cell magic in a Jupyter Notebook running on GitHub Codespaces to profile a Numba-accelerated implementation of the Mandelbrot set. However, when I run the following ...
0
votes
0
answers
39
views
Is there a way to install fonts purely from the terminal on a Codespace?
I work on personal coding projects, and assignments for a Computer Science class on my Chromebook. ChromeOS has no way to install fonts to the computer, and Linux is blocked off because it is a school-...
1
vote
1
answer
176
views
Laravel Scramble generate docs for https routes not working
I have Laravel 11.x app developing on Github Codespaces. I am trying to generate the documentation using Scramble package.
Github Codespaces publish urls are using https.
I am using api_domain entry ...
0
votes
0
answers
226
views
Problems with ".devcontainer" and "postStartCommand" in github codespace
I need a similar option or alternative that allows me to run my script on my local machine and that the script can be started without having to enter on the codespaces or having to open a shell like ...
1
vote
1
answer
321
views
Use GitHub Codespaces in JetBrains IDEs
How can I use GitHub Codespaces locally with a JetBrains product (e.g. WebStorm)?
The official documentation mentions JetBrains, but the link is dead (2025-02-19). The link to Visual Studio Code works ...
0
votes
0
answers
85
views
Codespaces manifests.js loading issue for SPFX project
I have created SPFX project for SharePoint Online customization and using VS Code which works fine locally (on another machine where VS Code is installed).
Now I am trying to achieve the same using ...
0
votes
0
answers
35
views
Pushing and pulling from different repos and templates
I create a project in VS Code on local machine. I create a blank repo on GitHub. I push my project to GitHub. I make that repo a template. Another user then makes a repo from that template. From ...
0
votes
1
answer
94
views
unable to run a notebook in github codespace
I am trying to run a notebook in github codespaces.
When I try to run some cells, I get errors related to pip
My environment is
When I try to connect to another server, I get error. I am trying to ...
0
votes
0
answers
137
views
How to fix 400 bad request error while opening Codespace in VS code locally? (Forcepoint)
I created Codespace for one of the repo I was working on.
I am able to fully access and work on it in the browser version.
However I want to open the Codespace in VS code locally.
I have switched on ...
0
votes
0
answers
196
views
Installing multiple versions of PNPM in GitHub Codespaces
Installing multiple versions of PNPM in GitHub Codespaces using Docker container. But by default taking latest PNPM version.
In our GitHub Codespaces, we currently invoke a script in the ...
0
votes
1
answer
1k
views
How to use Chrome DevTools (or React Native DevTools) with Github Codespaces?
I am developping my React Native app using Expo with the Github Codespaces IDE. I successfully runned my app on my android phone (using expo start --dev-client --tunnel) and I have the console.log() ...
0
votes
1
answer
681
views
Error: Codespace Running in Recovery Mode After VS Code Update - 'Rebuild Container' not helping
Description of Issue:
I have been trying to write in VS Code but every time I open it after the recent update, the following error message pops up:
This codespace is currently running in recovery mode ...
0
votes
1
answer
151
views
VS Codespaces Git Sync(Push/Pull/Commit) Has Git Config Failed Error
I am new to using GitHub Classroom and VS Codespaces for my classroom. Most of my students are able to open my assignments and commit changes with no problems. However, a few of my students receive ...
0
votes
1
answer
544
views
How to sync VSCode extensions between local editor and Github Codespaces?
I'm using Github codespaces more and more, and having my extensions preloaded upon setting up a new codespace would speed up my development process a lot.
What should I do so I never have to go back ...
1
vote
1
answer
312
views
Can I run a GitHub action using codespace prebuilt image?
I have a .devcontainer configuration set up in my GitHub repo, so that all the developers share the same dev environment.
Now I would like the same environment to be used by the GitHub actions runners,...
0
votes
1
answer
79
views
How do I connect socket.io to a different port while using GitHub codespaces?
I am making a program where (to make it easier for myself) I am using different ports for different pages. I already have codespaces set up and I do not want to switch to using something else, but I ...
0
votes
0
answers
128
views
Why Codespaces Port Forwarder asks for password to forward port 443 on macOS?
Why Codespaces Port Forwarder (from VSCode) in macOS needs me to enter my password (not even fingerprint is available) every time it starts a Codespace session when forwarding port 443? Any other app/...
0
votes
1
answer
58
views
Can I install Gosu and use it in GitHub codespace only
Can I install Gosu and use it in GitHub codespace only, I don't want to install it into my local computer. But if using Gosu on GitHub Codespace is impossible, I must install it on my local computer.
...
1
vote
0
answers
93
views
How to use nginx and RTMP in Github codespaces?
I've made a livestreaming server with nginx and RTMP and it works fine in localhost. But it does not work in Github codespaces, any fixes?
This is the code used from the repo
I was expecting my stream ...
0
votes
1
answer
138
views
Github [Codespaces] rejecting pushes to Origin from Collaborators
The Short of It
I have a github repo meant to be used as a codespace. Collaborators have made github accounts, been added as "collaborators" on the repo, then have gone to the repo page, ...
0
votes
0
answers
103
views
makefile doesnt find files on codespace
I'm trying to compile a program that is being created within a Github Codespace and the Makefile cannot compile because continues to report missing files:
make: *** No rule to create target 'solution/...
4
votes
0
answers
251
views
How do I change the visibility of a port in GitHub Codespaces using .devcontainer/devcontainer.json?
Here is my .devcontainer/devcontainer.json:
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"build": {
"context": ".."
},...
0
votes
0
answers
27
views
Codespaces Preview url doubled
I run a vue app in codespaces and when I start the preview server through vite the url in the browser bar is doubled:
https://blabla-pxjcg97-3000.app.github.dev/https://blabla-pxjcg97.github.dev/
...
2
votes
0
answers
337
views
Is there a simple way to specify xvfb-run when using VSCode's debugging function?
I would like to debug E2E tests using playwright (python) in codespaces on github.
On Docker, I use "mcr.microsoft.com/playwright/python:v1.45.0" image and the headless operation is ...
2
votes
0
answers
31
views
Directly linking to Github Codespaces for public code example files
We have some Jupyter Notebooks we use for code examples, hosted in a public Github repository.
Currently we generate links which automatically open the notebook inside Google Colab and Binder cloud ...
0
votes
1
answer
482
views
Error installing scikit-fda in Github Codespace (fdasrsf build issue)
I am trying to import a library in a script on a github codespace, namely skfda.
the package wasn't present so I I tried to pip install, I tried conda and I tried to clone the the repo from github but ...
1
vote
0
answers
134
views
Github Codespaces Inertia.js Failed to load resource: net::ERR_CONNECTION_REFUSED
In GitHub Codespaces, I'm experiencing issues with loading resources like client.js, app.js, and Home.vue through port 5173, leading to "ERR_CONNECTION_REFUSED" errors. I'm looking for a way ...
0
votes
0
answers
141
views
Refresh default bash terminal when Codespace container starts
This is a small QoL thing but I have a postCreateCommand.sh script that installs bash-completion so my git autocomplete works. It works well but the default bash terminal that Codespaces presents me ...
-1
votes
1
answer
273
views
GitHub CodeSpace for all Branches of Repository
I need to create a GitHub Codespace where I can check out branches within the repo from within the Browser-based VS studio. So basically, I need the whole repo to be available from my Codepace. Is ...
0
votes
1
answer
794
views
Cargo not found after installing in a devcontainer
I have a .devcontainer.json for GitHub Codespaces but when I run cargo in the postCreateCommand it states that cargo isn't found.
Below is my .devcontainer.json:
{
"name": "Cargo&...
0
votes
1
answer
220
views
Docker login to Github packages from Codespaces gives access denied
I am working in Github codespaces and I want to login to github packages.
The below way is working from my laptop, but when I try to login from Codespaces I get Error response from daemon: Get "...
3
votes
0
answers
126
views
Is there a way to have a shutdown hook for a Github CodeSpace?
We have a devcontainer.json that provides us with the environment that we need in order to run CodeSpaces and build our project. This involves starting a bash script that creates a Postgres.ai ...
0
votes
1
answer
534
views
How can I update rustc from within Codespaces
I am trying to build an example "Marco Polo" game using Rust with GitHub's Codespaces. I am following an example from Week 1 of Coursera's "Data Engineering with Rust" course. ...
0
votes
1
answer
1k
views
Permission Denied Error in GitHub Codespace Execution
I've been working on a project using GitHub Codespaces, and everything was running smoothly until recently. Within the first hour of usage, the Codespace was functioning as expected. However, after ...
0
votes
0
answers
91
views
Get CodeSpaces VS Code to apply correct indentation
I have checked every setting I can think of, but I must be missing something, as when I hit Enter, I get a 2-space indent, not a 4-space indent when trying to write Python in Visual Studio Code in ...
0
votes
0
answers
1k
views
Github Codespace : Running a Tkinter program
I have been programming remotely lately by using GitHub codespaces. I have been using the dev container for Python 3 to compile and run my code and it's been working just fine so far.
I currently have ...
0
votes
0
answers
412
views
Docker File is not generating when I am creating my dev container on Github Codespaces
I am trying to create a devcontainer having ubuntu but after creating the devcontainer it is only generating the devcontainer.json and the dockerfile is not generating , Why ?
I am selecting as ...
1
vote
1
answer
1k
views
How to set up GH codespace to be able to use postgres
I am a newbie to codespaces and to docker. I want a codespace environment with postgres installed so that I can use the command line to create and play around with simple SQL commands to make a ...
2
votes
2
answers
792
views
Showing "setting up Codespaces" Error while access cs50.dev
Usually we just enter https://cs50.dev URL in the browser and after login in GitHub it opens codespaces but currently. I am trying from whole day and it doesn't work. Even I made a new account for ...
2
votes
0
answers
325
views
github codespaces & docker-compose, how to mount a (secrets) file?
I've create a vscode devcontainer. For this I configured a docker-compose.yaml file where one of the services has this:
volumes:
- c:/docker/license/oe-12.8/progress.cfg:/usr/dlc/progress....
1
vote
0
answers
325
views
Python Turtle Graphics in GitHub Codespace
Is it possible to run Python Turtle Graphics from Github Codespace? I tried and got
File "/usr/local/python/3.10.13/lib/python3.10/tkinter/__init__.py", line 2299, in __init__
self.tk = ...
1
vote
0
answers
489
views
how to set display variable for github codespaces to run gui applications especially for python gui programs
I made a codespaces to work on gui based applications . But below error is showing. please guide me over this problem and how to make it work.
Traceback (most recent call last):
File "/...
1
vote
0
answers
149
views
Trouble accessing live server in GitHub Codespaces: Errors transitioning from 127.0.0.1 to 172.16.5.4
While using GitHub Codespaces, initially encountered an error with 127.0.0.1 when attempting to access the live server. In an attempt to resolve this, I switched to using the local IP but now receive ...
-1
votes
1
answer
791
views
Github Codespaces - issue with Port Forwarding
Github Codespaces (VSCode web version) returns an error [Error msg: Unable to forward localhost - network error] - network error - screenshot attached - neither auto-forwarding nor manual-forwarding ...
1
vote
1
answer
2k
views
How do I get codespaces to install Azure CLI by default?
I'm trying to build a Github codespace that'll install the Azure CLI by default.
In my devcontainer.json file I have the Azure Tools and Azure CLI Tools extension and I can access Azure from these ...
3
votes
1
answer
3k
views
Use GitHub CodeSpace with multiple repositories
Is there any way to use a single CodeSpace with multiple repositories?
For example, I'd like to be able to create a CodeSpace for C++, and another for C#. Then use them to open whatever repository I ...
0
votes
1
answer
416
views
Is possible code haskell and run it in github codespace?
I am discovering the github codespace and I think it is a wonderful tool to code and practice coding.
As far as I know, the codespace can run python, java, js and html natively. Searching about the ...
1
vote
0
answers
1k
views
GitHub Codespaces: no space left on device — what takes up the extra space?
I have a GitHub repository with a .devcontainer file to customize the Codespace image, that fails to start. The repository has the following structure:
.
├── .devcontainer
│ └── devcontainer.json
├──...