FS#64432 - [code] 1.40.0-1 fails to launch with assertion error
Attached to Project:
Community Packages
Opened by Crispin (crispin) - Saturday, 09 November 2019, 04:14 GMT
Last edited by Filipe Laíns (FFY00) - Saturday, 09 November 2019, 18:53 GMT
Opened by Crispin (crispin) - Saturday, 09 November 2019, 04:14 GMT
Last edited by Filipe Laíns (FFY00) - Saturday, 09 November 2019, 18:53 GMT
|
Details
Description:
I've just upgraded code - go to launch it from the shell and it fails with the following: crispin@computer:~ ⍬ code electron4[7860]: ../../third_party/electron_node/src/node_file.cc:897:void node::fs::InternalModuleStat(const FunctionCallbackInfo<v8::Value> &): Assertion `args[0]->IsString()' failed. 1: 0x5611fecfd8a6 [electron4] 2: 0x5611fecfc72c [electron4] 3: 0x5611fed4acc7 [electron4] 4: 0x5611fb59a8a1 [electron4] 5: 0x5611fbe0124e [electron4] fish: “code” terminated by signal SIGABRT (Abort) electron4 launches fine and shows its startup screen. |
This task depends upon
Closed by Filipe Laíns (FFY00)
Saturday, 09 November 2019, 18:53 GMT
Reason for closing: Fixed
Additional comments about closing: code 1.40.0-2
Saturday, 09 November 2019, 18:53 GMT
Reason for closing: Fixed
Additional comments about closing: code 1.40.0-2
As temporary solution, this works:
Download .tar.gz from https://code.visualstudio.com/download
```shell
tar -xzf code-stable-*.tar.gz
sudo mv VSCode-linux-x64/ /opt/VSCode
sudo chown -R root:root /opt/VSCode
sudo ln -s /opt/VSCode/bin/code /usr/bin/code
cd ~
ln -s .vscode-oss .vscode
cd ~/.config
ln -s Code\ -\ OSS Code
```
pacman -U /var/cache/pacman/pkg/code-1.39.2-1-x86_64.pkg.tar.xz
Thanks for that hint.