Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error from the extension host: spawn /usr/share/code/code (deleted) ENOENT #7866

Closed
g0d0 opened this issue Jun 19, 2016 · 11 comments
Closed
Assignees
Labels
info-needed Issue requires more information from poster install-update VS Code installation and upgrade system issues linux Issues with VS Code on Linux

Comments

@g0d0
Copy link

g0d0 commented Jun 19, 2016

  • VSCode Version: 1.1.1
  • OS Version: Fedora 23
  • Node 5.10
  • Shell 0.37.6

Steps to Reproduce:

  1. Update to version 1.2.1

Problem

  1. I continued at version 1.1.1
  2. The package spawn was broken
  3. The code isn't colorized, how if vs code doesn't support php code
@dbaeumer dbaeumer added the extensions Issues concerning extensions label Jun 20, 2016
@dbaeumer
Copy link
Member

Might be @alexandrudima

@jrieken jrieken assigned joaomoreno and unassigned jrieken Jun 20, 2016
@joaomoreno joaomoreno assigned Tyriar and unassigned joaomoreno Jun 21, 2016
@Tyriar
Copy link
Member

Tyriar commented Jun 21, 2016

@antoniomquadrosfilho can you try install the rpm again via command line? I find sometimes it doesn't work when updating via the GUI at least.

@Tyriar Tyriar added info-needed Issue requires more information from poster install-update VS Code installation and upgrade system issues linux Issues with VS Code on Linux and removed extensions Issues concerning extensions labels Jun 21, 2016
@tadasdanielius
Copy link

I have the same issue on Linux Mint debian edition (LMDE 2 Betsy) and deb package
Tried to install with GUI and via command line, no luck.

messageService.ts:119Error from the extension host: spawn /usr/share/code/code (deleted) ENOENTe.doShow @ messageService.ts:119
ipc.cp.ts:156IPC "Watcher" errored with Error: spawn /usr/share/code/code (deleted) ENOENT
ipc.cp.ts:156IPC "Git" errored with Error: spawn /usr/share/code/code (deleted) ENOENT

Now getting same problem on 1.2.0 after uninstalling 1.2.1 and reinstalling 1.2.0

@Tyriar
Copy link
Member

Tyriar commented Jun 27, 2016

@tadasdanielius can you see if this is happening using the Insiders build? https://code.visualstudio.com/insiders

@tadasdanielius
Copy link

Just tried code-insiders_1.3.0-1467004291_amd64.deb
Looks like it's working now. I don't see this error anymore.

@Tyriar
Copy link
Member

Tyriar commented Jun 27, 2016

Since 1.3.0 is shipping in a couple of weeks and it seems fine there I'll resolve this. It's potentially caused by #7350

@Tyriar Tyriar closed this as completed Jun 27, 2016
@komasoftware
Copy link

still seeing this on 1.14.0 on Ubuntu

Error from the extension host: spawn /usr/share/code/code (deleted)

How can we see the full error ?

@Tyriar
Copy link
Member

Tyriar commented Jul 23, 2017

@komasoftware this might happen when you update VS Code without closing down all windows (ctrl+q) and relaunching.

@ztrange
Copy link

ztrange commented Oct 6, 2017

I had the problem and solved it doing: sudo apt-get install --reinstall code

@iamjinme
Copy link

I have the same problem in Elementary OS, with VS 1.17.1. Some fix? Thanks in advance.

@Tyriar
Copy link
Member

Tyriar commented Oct 27, 2017

This is a common issue on Linux when you upgrade and do not restart the application. The fix is to close all windows (ctrl+q) and relaunch VS Code whenever you see this.

@microsoft microsoft locked and limited conversation to collaborators Oct 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster install-update VS Code installation and upgrade system issues linux Issues with VS Code on Linux
Projects
None yet
Development

No branches or pull requests

9 participants