0

The "NPM Scripts" view is missing from Views dropdown in the Explorer in my VS Code after I updated to version 1.58.0 today.

How do I enable that?

I have tried "Reload Window", restarting VSCode altogether and adding "npm.enableScriptExplorer": true to no avail.

P.S. my angular project is not in top-level directory, but it made no difference before this update.

vscode screenshot

RH.
  • 32
  • 1
  • 6
  • I only can get the NPM Script view to show when I am in the folder that contains the package.json file. I'm beginning to wonder if either this feature was changed (nothing in the release notes mentions it though), or its bugged (apparently its been [bugged before](https://github.com/microsoft/vscode/issues/120279)). Also see https://stackoverflow.com/a/66945789/6530134 for previous issues about this. – Timothy G. Jul 10 '21 at 00:49

1 Answers1

3

After adding "npm.enableScriptExplorer": true in the configuration file, you must display it because by default it is hidden! You can unhide it by using the Views menu in the explorer:

way to resolve issue

ref : https://github.com/microsoft/vscode/issues/104591#issuecomment-673959672