web3-curriculum: [BUG]: Can't run "freeCodeCamp: Run Course" in VS Code after building remote container

Issue/Experience

After following the steps enumerated here: https://www.freecodecamp.org/news/web3-curriculum-open-beta/ i get stuck when having to cmd + shift + p -> freeCodeCamp: Run Course

vscode says “No matching commands”

i don’t really understand how to deal with this, heard that deleting the container + cache could be a good idea but I did this multiple times first deleting it through the terminal with “rm -rf web3-curriculum.git” once in the directory + deleting the docker container and image.

Then, the second time, I just tried deleting the web3-curriculum manually but still nothing changed.

I don’t get if I’m retarded and can’t follow 5 easy steps or if there’s something wrong with the vscode extension.

Output of running Remote Container: Rebuild Container and Open in Container

Remote Container Output
99 ms] Remote-Containers 0.245.2 in VS Code 1.70.2 (e4503b30fc78200f846c62cf8091b76ff5547662).
[99 ms] Start: Resolving Remote
[120 ms] Setting up container for folder or workspace: /Users/HKT/web3-curriculum
[137 ms] Start: Check Docker is running
[137 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[228 ms] Server API version: 1.41
[229 ms] Start: Run: docker volume ls -q
[328 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=/Users/HKT/web3-curriculum --filter label=vsch.quality=stable
[411 ms] Start: Run: /private/var/folders/xr/m9fl4yv91hz2h4cwb7nr2fp00000gq/T/AppTranslocation/6EC603B7-9D03-419F-97A9-346351EFF0FF/d/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/HKT/.vscode/extensions/ms-vscode-remote.remote-containers-0.245.2/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/HKT/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --workspace-folder /Users/HKT/web3-curriculum --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/HKT/web3-curriculum --log-level debug --log-format json --config /Users/HKT/web3-curriculum/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --remove-existing-container --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[602 ms] remote-containers 0.245.2.
[602 ms] Start: Run: docker buildx version
[920 ms] Start: Resolving Remote
[922 ms] Start: Run: git rev-parse --show-cdup
[937 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/HKT/web3-curriculum
[1021 ms] local container features stored at: /Users/HKT/.vscode/extensions/ms-vscode-remote.remote-containers-0.245.2/dist/node_modules/vscode-dev-containers/container-features
[1023 ms] Start: Run: tar --no-same-owner -x -f -
[1042 ms] Start: Run: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /Users/HKT/web3-curriculum/Dockerfile -t vsc-web3-curriculum-b3982ca25c4f01c7dd4ee663f0f32ccf /Users/HKT/web3-curriculum
[+] Building 34.2s (26/26) FINISHED                                             
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 1.33kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/ubuntu:20.04            1.5s
 => [auth] library/ubuntu:pull token for registry-1.docker.io              0.0s
 => [ 1/19] FROM docker.io/library/ubuntu:20.04@sha256:35ab2bf57814e9ff49  0.0s
 => [internal] load build context                                          0.2s
 => => transferring context: 8.67MB                                        0.2s
 => CACHED [ 2/19] RUN apt-get update && apt-get install -y sudo           0.0s
 => CACHED [ 3/19] RUN yes | unminimize                                    0.0s
 => CACHED [ 4/19] RUN ln -snf /usr/share/zoneinfo/America/New_York /etc/  0.0s
 => CACHED [ 5/19] RUN adduser --disabled-password   --gecos '' camper     0.0s
 => CACHED [ 6/19] RUN adduser camper sudo                                 0.0s
 => CACHED [ 7/19] RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >>   /etc/sudo  0.0s
 => CACHED [ 8/19] RUN sudo apt-get install -y curl git bash-completion m  0.0s
 => CACHED [ 9/19] RUN curl -fsSL https://deb.nodesource.com/setup_18.x |  0.0s
 => CACHED [10/19] RUN sudo apt-get install -y nodejs                      0.0s
 => CACHED [11/19] RUN sudo apt-get install -y build-essential             0.0s
 => CACHED [12/19] RUN curl https://sh.rustup.rs -sSf | sh -s -- -y        0.0s
 => CACHED [13/19] RUN curl https://rustwasm.github.io/wasm-pack/installe  0.0s
 => CACHED [14/19] WORKDIR /workspace/web3-curriculum                      0.0s
 => CACHED [15/19] RUN mkdir ~/.npm-global                                 0.0s
 => CACHED [16/19] RUN npm config set prefix '~/.npm-global'               0.0s
 => [17/19] COPY . .                                                       0.1s
 => [18/19] WORKDIR /workspace/web3-curriculum                             0.0s
 => [19/19] RUN cd /workspace/web3-curriculum && npm install              30.4s
 => exporting to image                                                     0.0s
 => => exporting layers                                                    0.0s
 => => writing image sha256:eebb6e4ebd47f3272c10b9a032a45884a3e2f1350fb7d  0.0s
 => => naming to docker.io/library/vsc-web3-curriculum-b3982ca25c4f01c7dd  0.0s
 => exporting cache                                                        0.0s
 => => preparing build cache for export                                    0.0s
[36114 ms] Start: Run: docker events --format {{json .}} --filter event=start
[36115 ms] Start: Starting container
[36115 ms] Start: Run: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=/Users/HKT/web3-curriculum,target=/workspaces/web3-curriculum,consistency=cached --mount type=volume,src=vscode,dst=/vscode -l devcontainer.local_folder=/Users/HKT/web3-curriculum --entrypoint /bin/sh vsc-web3-curriculum-b3982ca25c4f01c7dd4ee663f0f32ccf -c echo Container started
Container started
[36843 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/Users/HKT/web3-curriculum
[36959 ms] Start: Run: docker inspect --type container bace7b7fd31d
[37066 ms] Start: Inspecting container
[37066 ms] Start: Run: docker inspect --type container bace7b7fd31d18db909f3e15d6ee900d49cffa6c41ed08f1748cebfebef2bef9
[37168 ms] Start: Run in container: /bin/sh
[37170 ms] Start: Run in container: uname -m
[37338 ms] x86_64
[37338 ms] 
[37338 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[37342 ms] NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
[37342 ms] 
[37342 ms] Start: Run in container: cat /etc/passwd
[37345 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[37346 ms] 
[37346 ms] 
[37346 ms] Exit code 1
[37346 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[37350 ms] 
[37350 ms] 
[37350 ms] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[37353 ms] 
[37353 ms] 
[37353 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[37355 ms] 
[37355 ms] 
[37355 ms] Exit code 1
[37355 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null
[37357 ms] 
[37357 ms] 
[37357 ms] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[37362 ms] 
[37362 ms] 
[37370 ms] Start: Run: docker inspect --type container bace7b7fd31d18db909f3e15d6ee900d49cffa6c41ed08f1748cebfebef2bef9
[37499 ms] Start: Run: /private/var/folders/xr/m9fl4yv91hz2h4cwb7nr2fp00000gq/T/AppTranslocation/6EC603B7-9D03-419F-97A9-346351EFF0FF/d/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/HKT/.vscode/extensions/ms-vscode-remote.remote-containers-0.245.2/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /Users/HKT/web3-curriculum --log-level debug --log-format json --config /Users/HKT/web3-curriculum/.devcontainer/devcontainer.json --mount-workspace-git-root true
[37717 ms] remote-containers 0.245.2.
[37717 ms] Start: Run: git rev-parse --show-cdup
[37742 ms] Start: Inspecting container
[37742 ms] Start: Run: docker inspect --type container bace7b7fd31d18db909f3e15d6ee900d49cffa6c41ed08f1748cebfebef2bef9
[37839 ms] Start: Run in container: /bin/sh
[37840 ms] Start: Run in container: uname -m
[38015 ms] x86_64
[38015 ms] 
[38015 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[38018 ms] NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
[38018 ms] 
[38019 ms] Start: Run in container: cat /etc/passwd
[38022 ms] Start: Updating configuration state
[38064 ms] Start: Setup shutdown monitor
[38065 ms] Forking shutdown monitor: /Users/HKT/.vscode/extensions/ms-vscode-remote.remote-containers-0.245.2/dist/shutdown/shutdownMonitorProcess /var/folders/xr/m9fl4yv91hz2h4cwb7nr2fp00000gq/T/vscode-remote-containers-f5e8c5d2e2a58353c3e7457afa3a2410ac079b1c.sock singleContainer Debug /Users/HKT/Library/Application Support/Code/logs/20221003T221937/exthost4/ms-vscode-remote.remote-containers 1664829659752
[38067 ms] Start: Run in container: test -d /root/.vscode-server
[38070 ms] 
[38070 ms] 
[38070 ms] Exit code 1
[38071 ms] Start: Run in container: test -d /root/.vscode-remote
[38074 ms] 
[38074 ms] 
[38074 ms] Exit code 1
[38075 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[38080 ms] 
[38080 ms] 
[38080 ms] Start: Run: /private/var/folders/xr/m9fl4yv91hz2h4cwb7nr2fp00000gq/T/AppTranslocation/6EC603B7-9D03-419F-97A9-346351EFF0FF/d/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Users/HKT/.vscode/extensions/ms-vscode-remote.remote-containers-0.245.2/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /Users/HKT/web3-curriculum --log-level debug --log-format json --config /Users/HKT/web3-curriculum/.devcontainer/devcontainer.json --include-features-configuration --mount-workspace-git-root true
[38314 ms] remote-containers 0.245.2.
[38314 ms] Start: Run: git rev-parse --show-cdup
[38335 ms] Start: Run in container: cat /root/.vscode-server/data/Machine/settings.json
[38339 ms] 
[38339 ms] cat: /root/.vscode-server/data/Machine/settings.json: No such file or directory
[38340 ms] Exit code 1
[38340 ms] Start: Run in container: test -d /root/.vscode-server/bin/e4503b30fc78200f846c62cf8091b76ff5547662
[38343 ms] 
[38343 ms] 
[38343 ms] Exit code 1
[38343 ms] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/e4503b30fc78200f846c62cf8091b76ff5547662
[38345 ms] 
[38345 ms] 
[38346 ms] Start: Run in container: mkdir -p '/root/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/e4503b30fc78200f846c62cf8091b76ff5547662' '/root/.vscode-server/bin/e4503b30fc78200f846c62cf8091b76ff5547662'
[38352 ms] 
[38352 ms] 
[38352 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/e4503b30fc78200f846c62cf8091b76ff5547662'
[38352 ms] Start: Launching Remote-Containers helper.
[38353 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-3b32b104a4cd1917826393fb5d6c7f19d2bcb59a.sock) forwarded to local host (/private/tmp/com.apple.launchd.h0fjKaNz9x/Listeners).
[38354 ms] Start: Run: gpgconf --list-dir agent-extra-socket
[38355 ms] Start: Run in container: /bin/sh
[38357 ms] userEnvProbe: loginInteractiveShell (default)
[38357 ms] Start: Run in container: echo ~
[38357 ms] userEnvProbe shell: /bin/bash
[38358 ms] 
[38359 ms] 
[38359 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/e4503b30fc78200f846c62cf8091b76ff5547662/node /tmp/vscode-remote-containers-3b32b104a4cd1917826393fb5d6c7f19d2bcb59a.js $*; }; f' || true
[38367 ms] 
[38367 ms] 
[38368 ms] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd ; readlink /proc/$pid/ns/mnt ; cat /proc/$pid/stat | tr "
[38422 ms] Start: Run in container: cat '/root/.vscode-server/data/Machine/.connection-token-e4503b30fc78200f846c62cf8091b76ff5547662' 2>/dev/null || (umask 377 && echo '4a84da0b-2b29-409c-b751-4b7775294c29' >'/root/.vscode-server/data/Machine/.connection-token-e4503b30fc78200f846c62cf8091b76ff5547662-45098707-9672-4660-bf71-753f423837a0' && mv -n '/root/.vscode-server/data/Machine/.connection-token-e4503b30fc78200f846c62cf8091b76ff5547662-45098707-9672-4660-bf71-753f423837a0' '/root/.vscode-server/data/Machine/.connection-token-e4503b30fc78200f846c62cf8091b76ff5547662' && rm -f '/root/.vscode-server/data/Machine/.connection-token-e4503b30fc78200f846c62cf8091b76ff5547662-45098707-9672-4660-bf71-753f423837a0' && cat '/root/.vscode-server/data/Machine/.connection-token-e4503b30fc78200f846c62cf8091b76ff5547662')
[38433 ms] 4a84da0b-2b29-409c-b751-4b7775294c29
[38433 ms] 
[38433 ms] Start: Starting VS Code Server
[38434 ms] Start: Preparing Extensions
[38434 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[38438 ms] 
[38438 ms] 
[38441 ms] Extensions cache, install extensions: dbaeumer.vscode-eslint, freeCodeCamp.freecodecamp-courses@1.6.0, freeCodeCamp.freecodecamp-dark-vscode-theme
[38441 ms] Start: Run in container: test -d /root/.vscode-server/extensionsCache && ls /root/.vscode-server/extensionsCache || true
[38444 ms] 
[38445 ms] 
[38445 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true
[38450 ms] dbaeumer.vscode-eslint-2.2.6
freecodecamp.freecodecamp-dark-vscode-theme-1.0.0
[38450 ms] 
[38451 ms] Extensions cache, link in container: dbaeumer.vscode-eslint-2.2.6, freecodecamp.freecodecamp-dark-vscode-theme-1.0.0
[38451 ms] Start: Run in container: mkdir -p '/root/.vscode-server/extensionsCache' && ln -s '/vscode/vscode-server/extensionsCache'/* '/root/.vscode-server/extensionsCache' || true
[38456 ms] 
[38457 ms] 
[38457 ms] Start: Run in container: cd /vscode/vscode-server/extensionsCache && touch 'dbaeumer.vscode-eslint-2.2.6' 'freecodecamp.freecodecamp-dark-vscode-theme-1.0.0'
[38457 ms] Start: Run in container: /root/.vscode-server/bin/e4503b30fc78200f846c62cf8091b76ff5547662/bin/code-server --log debug --force-disable-user-env --server-data-dir /root/.vscode-server --use-host-proxy --telemetry-level all --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server/data/Machine/.connection-token-e4503b30fc78200f846c62cf8091b76ff5547662 --extensions-download-dir /root/.vscode-server/extensionsCache --install-extension dbaeumer.vscode-eslint --install-extension freeCodeCamp.freecodecamp-courses@1.6.0 --install-extension freeCodeCamp.freecodecamp-dark-vscode-theme --start-server --disable-websocket-compression
[38463 ms] 
[38463 ms] 
[38577 ms] /root
[38577 ms] 
[38577 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-3b32b104a4cd1917826393fb5d6c7f19d2bcb59a.js' >/tmp/vscode-remote-containers-3b32b104a4cd1917826393fb5d6c7f19d2bcb59a.js
[38580 ms] 
[38580 ms] 
[38581 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-3b32b104a4cd1917826393fb5d6c7f19d2bcb59a.js' >/tmp/vscode-remote-containers-server-3b32b104a4cd1917826393fb5d6c7f19d2bcb59a.js_1664829698333
[38601 ms] 
[38601 ms] 
[38730 ms] *
* Visual Studio Code Server
*
* By using the software, you agree to
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
*
[38738 ms] Server bound to 127.0.0.1:33791 (IPv4)
Extension host agent listening on 33791

[38739 ms] Start: Run in container: echo 33791 >'/root/.vscode-server/data/Machine/.devport-e4503b30fc78200f846c62cf8091b76ff5547662'
[38741 ms] 
[38741 ms] 
[38741 ms] Port forwarding for container port 33791 starts listening on local port.
[38742 ms] Port forwarding local port 33791 to container port 33791
[38742 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /root/.vscode-server/bin/e4503b30fc78200f846c62cf8091b76ff5547662/node /tmp/vscode-remote-containers-3b32b104a4cd1917826393fb5d6c7f19d2bcb59a.js $*; }; f' || true
[38747 ms] 
[38747 ms] 
[38756 ms] userEnvProbe PATHs:
Probe:     '/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Container: '/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[38769 ms] Port forwarding connection from 54112 > 33791 > 33791 in the container.
[38769 ms] Start: Run in container: /root/.vscode-server/bin/e4503b30fc78200f846c62cf8091b76ff5547662/node -e 
[38996 ms] Port forwarding 54112 > 33791 > 33791 stderr: Connection established
[39043 ms] Installing extensions...
[39044 ms] [16:41:38] Extension host agent started.
[39062 ms] Port forwarding connection from 54113 > 33791 > 33791 in the container.
[39063 ms] Start: Run in container: /root/.vscode-server/bin/e4503b30fc78200f846c62cf8091b76ff5547662/node -e 
[39202 ms] [16:41:38] [127.0.0.1][6035a815][ManagementConnection] New connection established.
[39203 ms] [16:41:38] ComputeTargetPlatform: linux-x64
[39315 ms] Port forwarding 54113 > 33791 > 33791 stderr: Connection established
[39456 ms] [16:41:39] [127.0.0.1][6d9adf7b][ExtensionHostConnection] New connection established.
[39487 ms] [16:41:39] [127.0.0.1][6d9adf7b][ExtensionHostConnection] <244> Launched Extension Host Process.
[40055 ms] Installing extension 'dbaeumer.vscode-eslint'...
[40058 ms] [16:41:39] Getting Manifest... dbaeumer.vscode-eslint
[40086 ms] Installing extension 'freecodecamp.freecodecamp-courses' v1.6.0...
[40094 ms] Installing extension 'freecodecamp.freecodecamp-dark-vscode-theme'...
[40094 ms] [16:41:39] Getting Manifest... freecodecamp.freecodecamp-dark-vscode-theme
[40169 ms] [16:41:39] Installing extension: dbaeumer.vscode-eslint
[40215 ms] [16:41:39] Installing extension: freecodecamp.freecodecamp-dark-vscode-theme
[40606 ms] [16:41:40] Downloaded extension: dbaeumer.vscode-eslint /root/.vscode-server/extensionsCache/dbaeumer.vscode-eslint-2.2.6
[40631 ms] [16:41:40] Downloaded extension: freecodecamp.freecodecamp-dark-vscode-theme /root/.vscode-server/extensionsCache/freecodecamp.freecodecamp-dark-vscode-theme-1.0.0
[40706 ms] [16:41:40] Extracted extension to /root/.vscode-server/extensions/.fb848642-5087-4a09-8365-41f37b2ef218: freecodecamp.freecodecamp-dark-vscode-theme
[40716 ms] [16:41:40] Renamed to /root/.vscode-server/extensions/freecodecamp.freecodecamp-dark-vscode-theme-1.0.0
[40726 ms] [16:41:40] Extracting completed. freecodecamp.freecodecamp-dark-vscode-theme
[40727 ms] [16:41:40] Extension installed successfully: freecodecamp.freecodecamp-dark-vscode-theme
[40729 ms] Extension 'freecodecamp.freecodecamp-dark-vscode-theme' v1.0.0 was successfully installed.
[40739 ms] [16:41:40] Extracted extension to /root/.vscode-server/extensions/.a6cf0290-207b-496a-927c-e2cc595e8098: dbaeumer.vscode-eslint
[40752 ms] [16:41:40] Renamed to /root/.vscode-server/extensions/dbaeumer.vscode-eslint-2.2.6
[40757 ms] [16:41:40] Extracting completed. dbaeumer.vscode-eslint
[40761 ms] [16:41:40] Extension installed successfully: dbaeumer.vscode-eslint
[40766 ms] Extension 'dbaeumer.vscode-eslint' v2.2.6 was successfully installed.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

Nice one! That was an interesting bug.

I hope you enjoy the course now 🙂

SOLVED

So, apparently, in my case the problem was the vs code installation all along.

I mistakenly installed it in the Downloadsfolder rather than in Applications. This makes your VS Code app work in read-only mode and messes up the updates both to vs code and extensions.

Steps to fix everything on MacOS Monterey:

  1. While inside VS Code press cmd+Qto quit the application.
  2. Right click on the VS Code app in your dock (toolbar below or on the side, where you keep all your apps)
  3. Options-> Show in Finder
  4. Delete the VS Code App
  5. Download the latest version from https://code.visualstudio.com/Download
  6. You should have a zip file now. Extract it and you should have a new vs code app
  7. cmd + drag the VS code app you just extracted from the current directory to your Applicationsfolder; (This should ensure that you do not drag a copy of the app but the actual app in the folder)
  8. doubleclick on the vscode app in the Applicationsfolder
  9. right click on VS Code in your dock/toolbar
  10. Options-> Keep in Dock

At this point your VS Code installation should be clean, updated to the latest version and installed in the correct directory.

  1. Open your VS code shell with cmd + shift + P
  2. Type “uninstall” and select the Shell Command: Uninstall 'code' command from PATH
  3. if you get an error message that’s fine, proceed with the next step
  4. Repeat step 11: Open your VS code shell with cmd + shift + P
  5. Type “install” and select the Shell Command: Install 'code' command in PATH

At this point the code .command should be installed in the correct path and be usable in your terminal

When all of this is done, go back to your terminal and follow these steps:

  1. (OPTIONAL) If you didn’t already clone the web3 repository, type git clone https://github.com/freeCodeCamp/web3-curriculum.gitin your terminal. If you already did, go to the next step.
  2. Run cd web3-curriculum to navigate to the repo directory
  3. Run code . to open the container in VSCode
  4. press cmd+shift+P to run the VS Code shell
  5. type “Rebuild” and select the Remote-Containers: Rebuild container without Cache and Reopen in Container
  6. give it a minute, on the bottom right side of the screen you should have a popup saying “show log”, press it if you wanna follow the building process.
  7. press cmd+shift+P to run the VS Code shell once again
  8. type freeCodeCamp: Run Course

VOILA’

I hope this helps you.

Tl;Dr -> if your vs code is not installed correctly and the “code” command is installed in the wrong path, you won’t be able to run updates on VS code because it will be in read-only mode. Without updates to VS Code, your extensions won’t be updated as well.

This turns into a problem (especially because of freeCodeCamp: Courses which has to be version 1.6.0+) and the courses won’t run correctly because the shell won’t recognize the freeCodeCamp: Run Coursecommand.

Big Thank you to @ShaunSHamilton for helping me brainstorm and leading me towards the solution. (feel free to edit the message according to GitHub’s best practices)

@kanian since you’re running ubuntu, I’m not sure this solves your problem as well. However see if this is somehow helpful

Tl;Dr -> if your vs code is not installed correctly and the “code” command is installed in the wrong path, you won’t be able to run updates on VS code because it will be in read-only mode. Without updates to VS Code, your extensions won’t be updated as well. This turns into a problem (especially because of freeCodeCamp: Courses which has to be version 1.6.0+) and the courses won’t run correctly because the shell won’t recognize the freeCodeCamp: Run Coursecommand.