admin管理员组文章数量:1305107
I'm working on a Next.js project and upgraded from Yarn to Yarn Berry. However, there's an ongoing issue where <package-lock.json> keeps automatically generating in my project root. Moreover, my package.json file keeps including project as a dependency. Even when I delete this line, it keeps regenerating along with the <package-lock.json> file. Please help me resolve this persistent issue.
I've tried deleting both yarn and yarn cache, and even modified the global yarn packages. However, the issue persists... I've also added package-lock.json to the gitignore file, but that didn't solve the problem either.
.png
.png
.png
本文标签: nextjs14How do I prevent automatic creation of Yarn39s packagelockjson fileStack Overflow
版权声明:本文标题:nextjs14 - How do I prevent automatic creation of Yarn's package-lock.json file? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741789381a2397571.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论