Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Scripts show up in Explorer, but not found when using 'npm: Run Script' command #161

@tddschn

Description

@tddschn

I was in a single-root workspace with multiple package.jsons with different scripts defined.
Npm scripts all show up in the Explorer, but got No scripts found. when using 'npm: Run Script' command.

The output panel of npm was blank, and reloading window didn't help either.
npm.includeDirectories wasn't configured, and the package.json at the root dir doesn't have any scripts.

Extension version: v0.3.22
About VS Code:

Version: 1.59.0
Commit: 379476f0e13988d90fab105c5c19e7abc8b1dea8
Date: 2021-08-04T23:14:40.191Z
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Darwin x64 20.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    info-neededIssue requires more information from poster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions