找到了多个锁紧件?要删除什么?
调试运行脚本,我会收到此错误。我会删除整个文件夹吗?如果不是,我该如何判断要删除哪个锁紧件?
(使用NPM作为首选软件包管理器。找到了C:\ Users \ Desktop \ downloads \ Create-10k-nft-Collection-2.0.0.为解决此问题的多个Lockfiles。您首选的软件包管理器或将“ NPM.PackageManager”设置更改为“自动”以外的值。)
Debug run script and I get this error. Do I delete the whole folder? If not how can I tell which lockfiles to delete?
(Using npm as the preferred package manager. Found multiple lockfiles for c:\Users\Desktop\Downloads\create-10k-nft-collection-2.0.0. To resolve this issue, delete the lockfiles that don't match your preferred package manager or change the setting "npm.packageManager" to a value other than "auto".)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了快速修复,您可以在项目文件夹中删除
package-lock.json
yarn.lock 。但是
这可能是因为您使用的是与最初与该项目一起使用的软件包管理器不同的软件包管理器。因此,例如,如果该项目配置为使用
YARN
,并且您使用了npm
,则通常是您可以获得的错误类型。For a quick fix, you can delete the
package-lock.json
oryarn.lock
in your project folder.BUT
This is probably because you are using a different package manager than the one configured to work originally with the project. So for example if the project is configured to use
yarn
and you usednpm
, that's typically the type of error you can get.