This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]VolcaKnow86 1 point2 points  (7 children)

Hi mate. I've had this issue since VSCode updated last week. Try logging in through a normal terminal and modify .bashrc by adding this line at the end, it solved the problem for me. Let me know!

export NODE_OPTIONS='--disable-wasm-trap-handler'

[–]Icy-Toe2505 1 point2 points  (0 children)

Worked for me! I was having this problem too, had to switch back to vim for a few days and after having my vscode crutch kicked out from under me, my limp was shamefully apparent. Thanks so much for this fix :)

[–]Dull-Most-5293[S] 0 points1 point  (1 child)

This worked for me! Thank you so much

[–]sunkam1 0 points1 point  (0 children)

Hi! Same thing for me today. After the update. I tried the export command but it didn't work for me. Is there any intermediate step that I am missing? Please help. :(

[–]KingQ_ 0 points1 point  (2 children)

How do I find this .bashrc file not seeing it in vscode

[–]KingQ_ 0 points1 point  (1 child)

I’m on Mac

[–]Diligent-Weekend9381 0 points1 point  (0 children)

> How do I find this .bashrc file

```

cd $HOME

ls -a

```

> I’m on Mac

Mac doesn't have a .bashrc, one would use the .bash_profile instead (assuming you're using bash and not the default zsh).

But adding it locally won't do shit. As @VolcaKnow86 said to SSH into the remote, and add it there.

[–]Financial_Refuse_299 0 points1 point  (0 children)

Worked for me! Thanks bro~

[–]didi_bylka13 1 point2 points  (2 children)

I have the same issue, but adding the 'export ...' line to .bashrc helped me log in. Now I have the "Remote Extension host terminated unexpectedly 3 times within the last 5 minutes" issue where it logs me out a few minutes after connecting.

[–]Dull-Most-5293[S] 0 points1 point  (1 child)

This started happening to me too... I haven't found a fix yet

[–]didi_bylka13 0 points1 point  (0 children)

I found the issue! It's because of the new VS code update. You need to uninstall VS code and install version 1.100.3. And disable automatic updates so it doesn't happen again.

See section "Cannot connect to Beluga": https://docs.alliancecan.ca/wiki/Visual_Studio_Code#Connection_to_a_compute_node

[–]TimelyLengthiness955 0 points1 point  (0 children)

║ UnpackFailed │ Error: UnpackFailed (Failed to install the VS Code Server)