-
Notifications
You must be signed in to change notification settings - Fork 184
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
Auto add self dependency to npm #732
Comments
I had to enable/disable every extension by hand to find out it is this extension preventing me basically to build my library. "@libraryname/ngx-table": "file:", it gets added again and prevents me to build. |
I can confirm this Issue with Version v0.9.5 |
It seems like you’re encountering an issue where opening a package.json file in Visual Studio Code triggers behavior similar to running npm install ., resulting in a self-dependency being added and a package-lock.json file being generated. This is not the expected behavior when simply opening a file. a few steps you can take to troubleshoot and potentially resolve the issue: Check for Extension Conflicts: Sometimes, extensions can cause unexpected behavior. Check if you have any extensions related to npm or package management that might be causing this issue1. |
Is that a bot comment? Regarding the issue, it happens on last version only (0.9.5). In my case, it happens even when As a workaround one can force |
Iam Mexican....lol was just trying to be helpful by providing precise/concise alternatives for troubleshooting the possible issues |
I also have the above described issue with this additional effect:
By switching to 0.9.4 the issue disappeared, but I get a warning notification |
This is specially annoying after I moved to |
Type: Bug
When I open a package.json file (for npm), it seems that these 2 things happen:
This is as-if
npm install .
was called every time I open a package.json file, on the package.json directory.Extension version: 0.9.5
VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: