Disabled Menu : "Make Prettier (installing npm modules)"
XMarshall72 opened this issue · 2 comments
XMarshall72 commented
Installed product versions
- Visual Studio Community 2017 ver: 15.9.8
- JavaScript_Prettier_v2.1.47
Description
After installing from VS Tools->Extensions, I am getting on the right click menu for JS Files - Disabled menu : "Make Prettier (installing npm modules)"
Same thing happening when I am installing [JavaScript_Prettier_v2.1.47] directly by downloading from Visual Studio marketplace.
Pls advise what to do...
Steps to recreate
- Install JavaScript_Prettier from VS Tools->Extensions or download the installer from Visual Studio marketplace.
- Run Visual Studio and open a JavaScript file in the editor.
- Right click on the editor, to see the menus.
Current behavior
Seeing menu option (Disabled) : "Make Prettier (installing npm modules)".
Expected behavior
This menu option should be enabled for formatting the JS files.
hgirma commented
I observed the same, VS 16.8.0
hgirma commented
Get the latest nodejs, which will install npm along with it, restart VS and it will work afterward.