anseki / vscode-color

Helper with GUI to generate color codes such as CSS color notations.
MIT License
97 stars 27 forks source link

Color conversion gives 127 error in WSL project #88

Closed 0xR closed 5 years ago

0xR commented 5 years ago

Steps to Reproduce:

  1. Open WSL project
  2. Convert a color

Log (All lines):

[STDERR]: /home/user/.vscode-server/extensions/anseki.vscode-color-0.4.5/node_modules/electron-prebuilt/dist/electron: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
t.log @ workbench.main.js:238
$logExtensionHostMessage @ workbench.main.js:3215
_doInvokeHandler @ workbench.main.js:3293
_invokeHandler @ workbench.main.js:3293
_receiveRequest @ workbench.main.js:3292
_receiveOneMessage @ workbench.main.js:3290
_protocol.onMessage.e @ workbench.main.js:3289
fire @ workbench.main.js:77
a @ workbench.main.js:322
e @ workbench.main.js:322
fire @ workbench.main.js:77
_receiveMessage @ workbench.main.js:331
S._socketDisposables.push._socketReader.onMessage.e @ workbench.main.js:328
fire @ workbench.main.js:77
acceptChunk @ workbench.main.js:325
_register._socket.onData.e @ workbench.main.js:324
t @ workbench.main.js:333
emit @ events.js:182
addChunk @ _stream_readable.js:279
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onread @ net.js:636
workbench.main.js:238 [Extension Host] Child process disconnected
workbench.main.js:238 [Extension Host] Child process exited with code: 127
workbench.main.js:238 [Extension Host] Error: Child process exited with code: 127
anseki commented 5 years ago

Hi @0xR, thank you for your comment.

It seems that the installation failed. Try this:

  1. Uninstall the extension.
  2. Execute this command to remove NPM cache data.
    npm cache clean
  3. Execute this command to confirm the cache data were cleared.
    npm cache ls
  4. Remove Electron cache data in ~/.electron.
  5. Re-install the extension.
anseki commented 5 years ago

No reply came, then I close this abandoned issue.