-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
There is no way to show the NPM scripts explorer when there is no top level package.json #104591
Comments
Same problem: it will find all needed Looks like |
@alexr00 This was first thing I've tried, but I don't see NPM Scripts at all (even as hidden) if there in no But if I add empty Just tried 1.46.1 - it has NPM Scripts view even without |
I see the problem, thanks for elaborating further! |
To verify:
|
Do you know which vscode build is this patch supposed to be in? |
It is available in 1.48.1 |
Issue Type: Bug
Previous to this version, NPM Script Explorer would show for the following scenario:
Solution
- Project1
- package.json (with scripts)
- Project2
- package.json (with scripts)
- Project3
- no package.json
To test if this was an extension causing this issue, I installed the latest insider:
(Version: 1.48.0-insider (user setup)
Commit: db40434
Date: 2020-08-11T23:21:50.282Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041)
I made sure that no extensions were installed and that NPM Script Explorer was turned on. When I opened up the solution, the NPM Script Explorer did not show up.
If I open up by project, the NPM Script Explorer appears as expected.
I checked the Dev Tools and there were no errors in the console.
VS Code version: Code 1.48.0 (db40434, 2020-08-13T07:50:42.600Z)
OS version: Windows_NT x64 10.0.19041
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: