Questions tagged [github-codespaces]
114 questions
0
votes
0 answers
Inherit VSCode host AWS credentials when connected to GitHub CodeSpace
Goal: Not have to configure AWS CLI credentials (~/.aws) every time I create a new devcontainer with CodeSpace.
I know I can't bind mount ~/.aws like I could with a local devcontainer. Is there any other mechanism that will allow me to inherit AWS…

MikeJansen
- 3,336
- 3
- 26
- 37
0
votes
1 answer
Failed to start quarkus: java.lang.NoClassDefFoundError: jakarta/enterprise/event/Event
Introduction
Currently, I'm trying to use quarkus-github-app with GitHub Codaspace.
My GitHub Repo is here
My GitHub CodeSpace (the dev environment) is here
Problem
When I execute the command .mnvw quarkus:dev I obtain always this…

ThrowsError
- 1,169
- 1
- 11
- 43
0
votes
0 answers
How to "serve" Dart web app from Github codespace?
I've created a Github Codespace, trying so serve a web app, using webdev serve.
The project is nothing more than the default web template that comes with the Dart CLI tool. I've installed Dart and the webdev tool in my codespace.
But I'm getting the…

weenzeel
- 797
- 5
- 17
0
votes
0 answers
Cannot see installed R kernel on the list of Jupyter kernels on Codespace
I am trying to use GitHub Codespace with R + Jupyter Notebook setting. However, the notebooks on the codespace do not locate a correct kernel for R.
Here are the steps I went through:
I created a Codespace for my repo.
I clicked on 'Configure Dev…

minjo101
- 1
- 1
0
votes
1 answer
Running OpenCV in Terminal Only OS
I have been trying to run YOLOv5 (https://github.com/ultralytics/yolov5) in Github codespaces. All the packages in the requirements.txt have been installed. I attached to real.pt model…

Sean Mabli
- 37
- 8
0
votes
1 answer
Can a GitHub codespace run indefinitely?
I was wondering if we could configure a codespace to run indefinitely
and not time out when inactive

Joe
- 21
- 3
0
votes
1 answer
Github CLI auth refresh command is not opening in browser
I'm trying to use this command
`gh auth refresh -h github.com -s codespace`
it works fine but when it says
*"Press Enter to open github.com in your browser"*
and when I do it just load the html content inside my terminal.
e.g
Skip to content This…

Justin
- 107
- 3
- 10
0
votes
0 answers
Github Codespaces - Debug Laravel Command
I am running Laravel Framework 9.48.0.
My launch.json looks like the following:
{
// Verwendet IntelliSense zum Ermitteln möglicher Attribute.
// Zeigen Sie auf vorhandene Attribute, um die zugehörigen Beschreibungen anzuzeigen.
//…

Carol.Kar
- 4,581
- 36
- 131
- 264
0
votes
1 answer
Github Codespaces - Connect to mysql-db
I have configured my db-connection in my *.env-file in my Laravel Framework 9.48.0 project, which I would like to try on github codespaces. I want to connect to an externally hosted db server.
When running php artisan migrate I get:
@githubcoder ➜…

Carol.Kar
- 4,581
- 36
- 131
- 264
0
votes
0 answers
How do I get an Environment Variable in C# that was set in GitHub Codespaces?
I am using .NET Core 7.
I have set an environment variable in Github Codespaces using the settings secret:
https://github.com/settings/codespaces
When I try to get it out using C# it is blank because code spaces is not using windows:
string result =…

Greg Finzer
- 6,714
- 21
- 80
- 125
0
votes
0 answers
how to run a pygame projects on a github codespace
When i try to do any graphics projects on a codespace, the window does not popup, how to tackle this problem
I tried looking through the codespace guide but couldnt find anything

Joe
- 21
- 3
0
votes
0 answers
Where to file bugreports for github codespaces about prebuild action
My project has enabled github code spaces, while cleaning up the github actions in the project I noticed a depreciation warning in a job I did not recognize: Codespaces Prebuild. Obviously this is related to the code-spaces feature we use.
Node.js…

Simson
- 3,373
- 2
- 24
- 38
0
votes
1 answer
How do I set the default shell for codespaces in a browser?
Setting it in local VS Code is straightforward. Setting it for linux via "Settings Sync" also isn't too hard. I want to set it for browser sessions.
Is there either an account-wide settings in codespaces, or a setting I can use in my shell profile…

deitch
- 14,019
- 14
- 68
- 96
0
votes
0 answers
Stop the redirected output containing the `for in` clause on the GitHub Codespaces environment
Background
I want to redirect the result of a one-liner shell script to a file on a terminal in the GitHub Codespaces environment.
For example, when I executed the following one-liner in the Terminal view of VSCode:
$ for i in 1 2 3; do echo $i;…

SATO Yusuke
- 1,600
- 15
- 39
0
votes
1 answer
I am getting the vscode error: "The editor could not be opened due to an unexpected error". How do I fix this?
Basically I am making a discord bot on github codespaces (online vscode), and it was working for a while, but after I closed out of my tab, and re-opened it, it is giving me this error:
This is the picture of the error.
I don't know what is causing…

that_common_coder
- 13
- 5