Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

Watch My sass *Extension host terminated unexpectedly #53

Open
razor-rich85 opened this issue Mar 30, 2018 · 18 comments
Open

Watch My sass *Extension host terminated unexpectedly #53

razor-rich85 opened this issue Mar 30, 2018 · 18 comments

Comments

@razor-rich85
Copy link

Been using the extension for about 4-5 hours with no issue. Suddenly my watch my sass stopped watching and produced the error "Extension host terminated unexpectedly" heres the error report.

[Extension Host] debugger inspector at %cC:\Users\Whos Your Daddy.vscode\extensions\ritwickdey.live-sass-1.3.0%c\node_modules\sasslib\sass.sync.js:61
var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleO%cverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRON%cMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]%c==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONM%cENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module%c["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else i%cf(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true%c}else{throw new Error("The provided Module['ENVIRONMENT']%c value is not valid. It must be one of: WEB|WORKER|N%cODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIR%cONMENT_IS_WORKER=typeof importScripts==="function";ENVI%cRONMENT_IS_NODE=typeof process==="object"&&typeof req%cuire==="function"&&!ENVIRONMENT_IS_WE

Disabled, reloaded, uninstalled and reinstalled - error still present.

many thanks

@harveylee0307
Copy link

Same like @razor-rich85

image

@kgansberger
Copy link

same here ... @razor-rich85 @harveylee0307

any solution?

@ritwickdey
Copy link
Owner

I'm not sure. Just a give a try. Try to connect to the internet and then open the vscode.

Let me know it fixes or not.

@kgansberger
Copy link

in my case one @import file was not found...

@ritwickdey
Copy link
Owner

Strange! but I've no issue 😿
image

@ritwickdey
Copy link
Owner

Please can you confirm that, if you delete the extension from %USERPROFILE%\.vscode\extensions (Seach for ritwickdey.livesass-*) and reinstall the extension from the store.

@ritwickdey
Copy link
Owner

Hi, @harveylee0307 I can confirm that your problem is for Image preview Extension.

The exception is throwing the extension.

Let me know others feedback @razor-rich85 , @kgansberger

@RobeDesign
Copy link

error-sass

@schalk-barnard
Copy link

Have the same issue when I edit the main scss file.

@kucits
Copy link

kucits commented Nov 19, 2018

Have the same issue

`C:\Users\computer\.vscode\extensions\ritwickdey.live-sass-3.0.0\node_modules\sasslib\sass.sync.js:61
var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}Module["arguments"]=[];Module["thisProgram"]="./this.program";Module["quit"]=(function(status,toThrow){throw toThrow});Module["preRun"]=[];Module["postRun"]=[];var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("Module['ENVIRONMENT'] value is not valid. must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importS

Error: Import "owl.carousel" could not be resolved.
	at File.load (C:\Users\computer\.vscode\extensions\naumovs.color-highlight-2.3.0\dist\extension.js:5968:19)
	at C:\Users\computer\.vscode\extensions\naumovs.color-highlight-2.3.0\dist\extension.js:5974:48
	at FSReqWrap.oncomplete (fs.js:152:21)`

@Windy01
Copy link

Windy01 commented Nov 21, 2018

Same issue here. Mine happens when I open my main.scss which has a list of @import scss files.
E.g. @import "base/animations";
@import "base/typography";
I don't have to edit it, I just open it.

@tarosjk
Copy link

tarosjk commented Feb 20, 2019

Image preview caused unexpected shutdown error for other extensions too. Has someone reported the problem to Image Preview author?

@emiltsokov
Copy link

+1

@moramike
Copy link

moramike commented Jun 13, 2019

Same issue here. It happens when I open a scss file that contains relative import paths that cannot be resolved (e.g.: '~/styles') or when I edit or write any import path (e.g.: as soon as I place the ' character after @import).

It seems to be related with sergiirocks/vscode-ext-color-highlight but that extension works well on it's own.

C:\Users\{user}\.vscode\extensions\ritwickdey.live-sass-3.0.0\node_modules\sasslib\sass.sync.js:61

var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module)
{if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}Module["arguments"]=
[];Module["thisProgram"]="./this.program";Module["quit"]=(function(status,toThrow){throw 
toThrow});Module["preRun"]=[];Module["postRun"]=[];var ENVIRONMENT_IS_WEB=false;var 
ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var 
ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB")
{ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER")
{ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE")
{ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL")
{ENVIRONMENT_IS_SHELL=true}else{throw new Error("Module['ENVIRONMENT'] value is not valid. must 
be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof 
window==="object";ENVIRONMENT_IS_WORKER=typeof import

Error: Import "../../styles/olors" could not be resolved.
	at File.load (C:\Users\{user}\.vscode\extensions\naumovs.color-highlight-2.3.0\dist\extension.js:5968:19)
	at C:\Users\{user}\.vscode\extensions\naumovs.color-highlight-2.3.0\dist\extension.js:5974:48
	at FSReqWrap.isFd [as oncomplete] (fs.js:182:21)

@joangavelan
Copy link

The extension crashes when I try to import a file with @import, just one letter is needed.

watchsass problem

@mandakadam
Copy link

Uninstall VsCode and try. I was getting same issue. After Re-installation it has been fixed.

@DoriOmer
Copy link

DoriOmer commented Apr 22, 2020 via email

@titusdecali
Copy link

It seems to be related with sergiirocks/vscode-ext-color-highlight but that extension works well on it's own.

Thank you! disabling that extension fixed the issue for me. It was really starting to drive me crazy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests