anseki / vscode-color

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

Suddenly stopped working, Child process already exited #59

Closed natew closed 7 years ago

natew commented 7 years ago

Not sure why this started happening, but I tired reinstalling and restarting a few times.

image

image

natew commented 7 years ago

Actually got this now:

image

anseki commented 7 years ago

Hi @natew, thank you for the report.

It seems that the Electron in your computer is broken. Or, the electron and another electron might conflict if you have installed Electron globally before. That should not be installed globally because various apps may not work by the confliction.

Try to remove that. (except there are special reasons)

npm uninstall -g electron
npm uninstall -g electron-prebuilt

cd ~/.vscode/extensions/anseki.vscode-color-0.4.5
npm uninstall electron-prebuilt

And execute Pick Color command on VS Code.

natew commented 7 years ago

That didn't seem to help.

image

Tried re-installing electron-prebuilt into anseki.vs-code dir but still seems to be broken.

natew commented 7 years ago

After restart:

image

anseki commented 7 years ago

At least, it seems that the confliction in your computer was solved. And that installation failed. It seems that the error is a duplicate of past issues. Cache data in your computer might be broken. You can clear the cache data by this:

  1. Uninstall the extension.
  2. Command to remove NPM cache data.
    npm cache clean
  3. 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 7 years ago

No reply came. I close this issue.