Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled Menu : "Make Prettier (installing npm modules)" #30

Open
XMarshall72 opened this issue Aug 16, 2020 · 2 comments
Open

Disabled Menu : "Make Prettier (installing npm modules)" #30

XMarshall72 opened this issue Aug 16, 2020 · 2 comments

Comments

@XMarshall72
Copy link

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

  1. Install JavaScript_Prettier from VS Tools->Extensions or download the installer from Visual Studio marketplace.
  2. Run Visual Studio and open a JavaScript file in the editor.
  3. 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
Copy link

hgirma commented Nov 12, 2020

I observed the same, VS 16.8.0

@hgirma
Copy link

hgirma commented Nov 14, 2020

Get the latest nodejs, which will install npm along with it, restart VS and it will work afterward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants