# @import in sass causing page error and host terminated

**URL:** <https://forum.freecodecamp.org/t/import-in-sass-causing-page-error-and-host-terminated/383065>\
**Category:** General\
**Created:** [May 3, 2020, 2:02pm UTC](https://forum.freecodecamp.org/t/import-in-sass-causing-page-error-and-host-terminated/383065 "2020-05-03T14:02:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobs](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dobs/32/131544_2.png) [@Dobs](https://forum.freecodecamp.org/u/Dobs)\
**Post date:** [May 3, 2020, 2:02pm UTC](https://forum.freecodecamp.org/t/import-in-sass-causing-page-error-and-host-terminated/383065/1 "2020-05-03T14:02:06Z")

</div>

Hey everyone,

Last night and this morning I have been working on Sass. I am an issue everytime I try to do a partial file for buttons or forms it is not responding and after i make the file and try to import it nothing works. I cant use live server and it breaks the whole page. Everytime I start my @import thats when it starts to crash.

I am using the Visual Studio Code extension.

I am also using the color-highlight extension.

Could it be an issue between multiple extensions?

---

<div class="post-metadata">

**Author:** ![michaelsndr](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@michaelsndr](https://forum.freecodecamp.org/u/michaelsndr)\
**Post date:** [May 3, 2020, 2:21pm UTC](https://forum.freecodecamp.org/t/import-in-sass-causing-page-error-and-host-terminated/383065/2 "2020-05-03T14:21:20Z")

</div>

You could deactive the one you think is suspicious and test it …

---

<div class="post-metadata">

**Author:** ![Dobs](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dobs/32/131544_2.png) [@Dobs](https://forum.freecodecamp.org/u/Dobs)\
**Post date:** [May 3, 2020, 2:21pm UTC](https://forum.freecodecamp.org/t/import-in-sass-causing-page-error-and-host-terminated/383065/3 "2020-05-03T14:21:48Z")

</div>

Yes. I have found the issue. It is for sure the color highlightning extension. I disabled it and everything seemed to be working fine. Once I re activated it I got the “Extension host terminated unexpectedly.” error message again.

Is there a work around to this? Or just disable it while working with Sass?

---

<div class="post-metadata">

**Author:** ![Dobs](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dobs/32/131544_2.png) [@Dobs](https://forum.freecodecamp.org/u/Dobs)\
**Post date:** [May 3, 2020, 2:23pm UTC](https://forum.freecodecamp.org/t/import-in-sass-causing-page-error-and-host-terminated/383065/4 "2020-05-03T14:23:33Z")

</div>

Thanks Michael,

You beat my last post by seconds. Of course, after I posted my thread I started doing some testing on my own. It is for sure the issue. I did not expect to findthe problem so easily or I wouldn’t have posted.

If anyone knows anything about this and can comment on the issue that would be great. Possibly some settings need to be changed.

I saw a comment just now that says,

"I am also having this issue running both live sass compiler and color highlight extensions. I was able to fix this by setting the supported languages for color-highlight to everything except for scss in settings.json

“color-highlight.languages”: [“\*”, “!scss”]"

I do not see that setting in my setting.json file however.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:55pm UTC](https://forum.freecodecamp.org/t/import-in-sass-causing-page-error-and-host-terminated/383065/5 "2021-06-01T18:55:52Z")

</div>


