Vscode-live-server: Extension host terminated unexpectedly in vs code insiders 1.31.0

Created on 14 Dec 2018  ·  50Comments  ·  Source: ritwickdey/vscode-live-server

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior

After launching vscode-insider and a moment later, I get Extension host terminated unexpectedly.

I disabled all extensions with no issue.
I reenabled all extensions and located developer tool and saw below error:

Developer Tool shows this error:

dyld: lazy symbol binding failed: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
Referenced from: /Users/xxx/.vscode-insiders/extensions/ritwickdey.liveserver-5.3.1/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node
Expected in: flat namespace

Expected behavior

VS Code operates normally

Environment

Browser:

no applicable browser

For Tooling issues:

- Live Server: 5.3.1
- Platform:  10.14.3 Beta (18D21c)
- Visual Studio Code: Version 1.31.0-insider (1.31.0-insider)

Others

https://github.com/Microsoft/vscode/issues/64981

Most helpful comment

I disable all the Extensions , then enable them one by one and find that Settings Sync extension caused the error :Extension host terminated unexpectedly.. Finally I disable Settings Sync solve the problem. But I really want to use Settings Sync. Feeling bad.

My VSCode version : 1.33.0.

All 50 comments

Same Here :(

same problem

Hey, sorry for late. Seems like it's a serious issue. Can anyone please share console of vscode (Help => Toggle Develoer Tools) ?

Sorry, I got the log from @minoseah629

The issue is comes from fsevents. Seems like all of you're using Mac.

There are some breaking changes as vscode-insider is now using electron.js v3.x and Node.js 10.x

The Issue is related to https://github.com/electron/electron/issues/14841 & https://github.com/strongloop/fsevents/issues/229

I've upgraded one package. Can anyone please clone the project & install the package from here

Please let me know if you need any help to manual install and status of extension after install ?

I don't know how to install the extension from here.
Please let me know it.

Hi @kouhei thanks for your interest. Sorry for a late reply (due to my exams).

Can you join with me in Hangout Text Chat or Skype Text Chat (or anyone ? )

Hangout: [email protected]
Skype: ritwickdey

[It'll be annoying if I do chat here, because everyone will receive emails for every comment.]

any chance of fixing this soon. it's making the insiders edition unusable.

manually updating to v5.4.0-alpha fixed this for me...

@ritwickdey I tried to manually install the vsix in the releases, as well as manually compiling from the source code of the alpha2 tag, in both I get the follow error when trying to use the extension, the extension host doesn't seem to be crashing though:
image

It's still not fixed, I tried installing LiveServer-5.4.0-alpha4-osx.vsix and Extension Host is still crashing:

dyld: lazy symbol binding failed: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
  Referenced from: /Users/kristoffer/.vscode-insiders/extensions/ritwickdey.liveserver-5.4.0-alpha4/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node
  Expected in: flat namespace

dyld: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
  Referenced from: /Users/kristoffer/.vscode-insiders/extensions/ritwickdey.liveserver-5.4.0-alpha4/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node
  Expected in: flat namespace

Still failing on 1.31.0-insider (1.31.0-insider).

extension host

Extension Host                   /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3273

dyld: lazy symbol binding failed: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
  Referenced from: /Users/jfelps/.vscode-insiders/extensions/ritwickdey.liveserver-5.3.1/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node
  Expected in: flat namespace

dyld: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
  Referenced from: /Users/jfelps/.vscode-insiders/extensions/ritwickdey.liveserver-5.3.1/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node
  Expected in: flat namespace

Idem in 1.30.2 But I used it (together with Live SCSS compiler) before this upgrade.
Hope it helps.

Version: 1.30.2 (system setup) Commit: 61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8 Datum: 2019-01-07T22:54:13.295Z Electron: 2.0.12 Chrome: 61.0.3163.100 Node.js: 8.9.3 V8: 6.1.534.41 Betriebssystem: Windows_NT x64 10.0.17134

Same here. I fire up VS Code and the extension host crashes immediately.

Please try 5.4.0 release build.

Please try 5.4.0 release build.

Still doesn't work.
capto_capture 2019-02-04_03-59-22_am

Please try 5.4.0 release build.

Still doesn't work.
capto_capture 2019-02-04_03-59-22_am

Please provide information on OS, VS Code Build etc.

Are you running the latest build of Visual Code Insiders? Please retry the 5.4.0 build once you update to the latest nightly build from yesterday.

I'm seeing the extension host crash too.

Crashing for me as well with VSCode 1.31 release

Nevermind, working when I manually installled 1.5.4 from VSIX file.

Live server uninstalling let me get rid of that strange issue. Try to uninstall it! Good Luck!

Hi I'm also experiencing this issue.

Hope will fix it as soon as possible.

VS Code Version 1.31.0

screen shot 2019-02-07 at 9 15 41 am

It worked for v 1.32.0-insider

Please download 5.4.0 from this repo (under Releases), and try installing that manually.

View -> Command Pallete... -> Extensions Install from VSIX...

Select the extension you downloaded, and restart VS Code when it completes.

Please provide feedback - 5.4.0 will be published once we confirm it is working for all.

The latest 5.4.0 version now works fine, on macOS and VS Code 1.32.0 👍

Please install v5.4.0 from marketplace. Let us know if it doesn't work. (and also don't forget to update vscode-insider 😄)

This is also happening in vs code v1.31

I tried installing the v5.4.0 from the marketplace but the issue persisted. Also tried vscode-insiders but no luck.

I had to rollback to vscode 1.30 :(

Hi @leoggonzalez, Have you tried the lastest version? It should work.

Anyway, is this same issue? you can create a new issue request in GitHub if the issue is different.

I use the latest version on the latest Code version. If I deinstall live scss compile and live server the extension server does not crash anymore. So, what do you need to understand the problem? Thanks! Mario

Inviato da smartphone Samsung Galaxy.
-------- Messaggio originale --------Da: Ritwick Dey notifications@github.com Data: 12/02/19 14:25 (GMT+01:00) A: ritwickdey/vscode-live-server vscode-live-server@noreply.github.com Cc: Mario Valle mvalle@cscs.ch, Comment comment@noreply.github.com Oggetto: Re: [ritwickdey/vscode-live-server] Extension host terminated unexpectedly in vs code insiders 1.31.0 (#250)
Hi @leoggonzalez, Have you tried the lastest version? It should work.
Anyway, is this same issue? you can create a new issue request in GitHub if the issue is different.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/ritwickdey/vscode-live-server","title":"ritwickdey/vscode-live-server","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/ritwickdey/vscode-live-server"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ritwickdey in #250: Hi @leoggonzalez, Have you tried the lastest version? It should work. \r\n\r\nAnyway, is this same issue? you can create a new issue request in GitHub if the issue is different."}],"action":{"name":"View Issue","url":"https://github.com/ritwickdey/vscode-live-server/issues/250#issuecomment-462757815"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ritwickdey/vscode-live-server/issues/250#issuecomment-462757815",
"url": "https://github.com/ritwickdey/vscode-live-server/issues/250#issuecomment-462757815",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

This Is still a problem, using the insiders version is by no means a fix. It doesn't even use the same settings.

This is resolved for me.

Version 1.32.0-insider (1.32.0-insider)
Live Server v5.5.1

OK, waiting for new Code and Live server versions. In the mean time I simply run sass --wait outside Code.

Same issue on Version 1.32.3 (1.32.3)

dyld: lazy symbol binding failed: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
  Referenced from: /Users/hvisage/.vscode/extensions/living42.vscode-simple-sync-0.0.1/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node
  Expected in: flat namespace

dyld: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
  Referenced from: /Users/hvisage/.vscode/extensions/living42.vscode-simple-sync-0.0.1/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node
  Expected in: flat namespace

I disable all the Extensions , then enable them one by one and find that Settings Sync extension caused the error :Extension host terminated unexpectedly.. Finally I disable Settings Sync solve the problem. But I really want to use Settings Sync. Feeling bad.

My VSCode version : 1.33.0.

I disable all the Extensions , then enable them one by one and find that Settings Sync extension caused the error :Extension host terminated unexpectedly.. Finally I disable Settings Sync solve the problem. But I really want to use Settings Sync. Feeling bad.

My VSCode version : 1.33.0.

all fixs with disable setting sync

I disable all the Extensions , then enable them one by one and find that Settings Sync extension caused the error :Extension host terminated unexpectedly.. Finally I disable Settings Sync solve the problem. But I really want to use Settings Sync. Feeling bad.

My VSCode version : 1.33.0.

Thanks, works for me

If updating Live-Server doesn't work for you, try "disable" "Setting sync" extension.

WOW! Thank you so much! It works for me :)

I disable all the Extensions , then enable them one by one and find that Settings Sync extension caused the error :Extension host terminated unexpectedly.. Finally I disable Settings Sync solve the problem. But I really want to use Settings Sync. Feeling bad.

My VSCode version : 1.33.0.

Thanks, works for me :)

deleting all extension of VSCode help me to solve the issue.
cd ~/.vscode/extensions and then delete all and now reinstall your required extensions again

Disabling settings sync also worked for me. Thank you!

I tried disabling, didn't work. I then tried deleting all extensions and restarted...naturally it worked. Then installing just Live Server causes the Extension host failure with the following message:

Screen Shot 2019-04-17 at 5 01 30 AM

Caused by Settings Sync extension. I was using React Native Full Pack extension and this extension is using Settings Sync extension as dependency. So I have switched to another Extension namedReact Native Tools and now Solved the issue.

When I disable Live Server extension, resolved for me.

deleting all extension of VSCode help me to solve the issue.
cd ~/.vscode/extensions and then delete all and now reinstall your required extensions again

Thank youuu . Done

The simplest solution is to disable all extensions and enable them all again :) Also did the same with Live Server - reenabling solved the issue, I can still use it

New version is published. Please try to install from store. It should work. If not, please let me know.

Thank you so much to all of you for reporting here :)

Guys, the problem is in your code if that problem appears. For example I used a path of a deleted folder somwhere in my .scss files and this issue started the crash of the Sass Live Compiler.

Just check your code for any strange errors.

just only disable or uninstall extension live-sass, it's work for me
Hope help.

I tried all the above step and procedures but there is no solution.
finally, I Cross checked all my installed extensions plugins and I found same and similar extensions twice or trice the problem will be occurs. So, I uninstall the related or similar extension plugins like "TODO" the problem is solved. Thank you
Todo

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GaoHengdong picture GaoHengdong  ·  4Comments

Stonerea656 picture Stonerea656  ·  5Comments

abhiinos111abhi picture abhiinos111abhi  ·  5Comments

dominik-korsa picture dominik-korsa  ·  6Comments

Rakesh-webdeveloper picture Rakesh-webdeveloper  ·  4Comments