我在 Visual Studio Code 中使用了该命令yarn install
,但出现错误。以下错误消息。
package-lock.json found.
Your project contains lock files generated by tools other than Yarn.
It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files.
To clear this warning, remove package-lock.json.
我认为它与 npm
package-lock.json
冲突与 yarn.lock 重叠。
针对问题采取行动。
移除package-lock.json
,移除node_modules
这个问题仍然没有解决。
谢谢你!