javascriptvisual-studio-codejshint

Visual Studio Code Error - Failed to load jshint library


Every time Visual Studio Code started or loaded it shows an error message: "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". Is there any solution available?


Solution

  • You'll need to follow the prompt and install jshint.

    For just the workspace npm install jshint

    or

    For all your workspaces npm install -g jshint