Search code examples
visual-studio-codenpm-scripts

'NPM Scripts' missing in VS Code after update to 1.58.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


Solution

  • 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