Skip to content
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

[BUG] alters package.json and generates package-lock.json in projects that don't use npm #738

Open
willmakley opened this issue Sep 13, 2024 · 5 comments

Comments

@willmakley
Copy link

willmakley commented Sep 13, 2024

Describe the bug
With the extension installed, I find that package.json get spontaneously modified and package-lock.json gets spontaneously generated in my project that uses yarn.

To Reproduce
Create a yarn project. Use this extension.

Expected behavior
If it doesn't support yarn, it should at least detect yarn.lock and show a warning and not run npm commands that break my project.

@yc-w-cn
Copy link

yc-w-cn commented Sep 23, 2024

I also encountered this issue. I uninstalled the plugin, and the problem was resolved.

@yohkaii
Copy link

yohkaii commented Sep 24, 2024

Seems to be an ongoing problem on version 0.9.5 of the extension. You can either downgrade to v0.9.4 or disable to fix.

@Fydon
Copy link

Fydon commented Oct 3, 2024

Related to #731, #732 and #736, although probably not duplicate.

@johanklingberg
Copy link

Yes! it adds "packagename": "file: " to package.json constantly breaking any builds! It took me forever to hunt down because it started happening just as i had added some new packages. Thought i was going crazy until i found it.

@jhechtf
Copy link

jhechtf commented Nov 5, 2024

I'm seeing this as well version 0.9.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants