Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Visual Studio Code Extensions

Seokhyun Wie
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Seokhyun Wie
Full Stack JavaScript Techdegree Graduate 21,606 Points

I have an error message after installing jshint, and the same message pops up when I installed Sass and BPC.

Hi there, I have tried multiple time to restart VS Code and reinstalled extensions you introduce, but I have the same error message over and over again.

The message is: Failed to load jshint library. Please install jshint in your workspace folder using 'npm install jshint' or globally using 'npm install -g jshint' and then press Retry.

I've searched on Google, spent hours to figure it out, but it is very complicated and overwhelming in my early stage at the moment (I don't get what most people say).

Here is what I've tried,

  1. Restarted and reinstalled all extensions introduced
  2. Opened Terminal and typed 'npm install -g jshint' (I didn't know what I was doing)
  3. Installed ESLint (the same as #2)
  4. Tried to install NVM, but I don't know what to do

In conclusion,

Q1. Is it because I do not have any valid JS file? Please help me out because I am totally stuck here and cannot move forward.

Q2. The 'background' attribute auto-completion(showing multiple options to choose) in the CSS file doesn't work at all in my CSS file, maybe because no code is written in my CSS file?

Thank you so much for your time reading this long inquiry and please help me as it is really important for me to figure it out before I move forward. I appreciate your concern.

1 Answer

Hey, I had some issues a while back with npm, then I found out that npm comes with node, and that you may need to install node before using the npm install.