Search code examples
javascriptvisual-studio-codebabeljseslint

Not able to install extensions in VS code


I am new to VS code trying to set it up for web development. I have downloaded two extensions babel Javascript and ES lint but when I am double-clicking on them, the following error comes. Can someone help me in solving this? Thanks in advance.

https://i.sstatic.net/3cMhz.png

Install Failed

The Install of 'ESLint' was not successful for all the selected products. FOr more information, click on the install log link at the buttom of the dialog.

ESTLint

One of more extensiong are for Visual Studio Code. Try installing them in Visual Studio Code.


Solution

  • do you already have Visual Studio Code installed?

    you can either grab it from the marketplace here and it'll request to open VS Code to install, or once you have VS Code:

    • open VS Code
    • Ctrl + Shift + X this will open open the Extensions panel
    • Type ESLint in the search bar.
    • Find the ESLint extension in the search results
    • click the green Install button next to it