"warning Pattern ["debug@^4.1.1"] 试图在同一个目的地解压,Yarn(真的)是什么意思"
What does Yarn (really) mean by "warning Pattern ["debug@^4.1.1"] is trying to unpack in the same destination"
我在 Stack Overflow 上看到关于 Yarn 的这个警告还有其他问题,但我找不到它的意思的答案——我的意思是,它是什么 真的方法。也就是说,这对我和我的应用程序意味着什么,我该如何更正它?
我正在尝试使用 Yarn 添加 debug,即 yarn add debug -D
,但我收到了警告
warning Pattern ["debug@^4.1.1"] is trying to unpack in the same destination "/Users/xyz/Library/Caches/Yarn/v4/npm-debug-4.1.1-3b72260255109c6b589cee050f1d516139664791/node_modules/debug" as pattern ["debug@^4.1.0","debug@^4.0.1"]. This could result in non-deterministic behavior, skipping.
我尝试了 yarn remove debug
然后 yarn add debug -D
,但是没有用。
非常感谢任何见解和建议!
意思是安装程序通常会创建安装目录,但在这种情况下,它偶然发现目录已经存在的情况。它警告您,如果它将文件放在那里,那么新文件可以与已经存在的文件共存。
尝试 运行:
rm -fR /Users/xyz/Library/Caches/Yarn/v4/npm-debug-4.1.1-3b72260255109c6b589cee050f1d516139664791/node_modules/debug
然后重新安装。
如果不行,试试运行:
rm -fR /Users/xyz/Library/Caches/Yarn/v4/npm-debug-4.1.1-3b72260255109c6b589cee050f1d516139664791/node_modules
然后重新安装。
我在 Stack Overflow 上看到关于 Yarn 的这个警告还有其他问题,但我找不到它的意思的答案——我的意思是,它是什么 真的方法。也就是说,这对我和我的应用程序意味着什么,我该如何更正它?
我正在尝试使用 Yarn 添加 debug,即 yarn add debug -D
,但我收到了警告
warning Pattern ["debug@^4.1.1"] is trying to unpack in the same destination "/Users/xyz/Library/Caches/Yarn/v4/npm-debug-4.1.1-3b72260255109c6b589cee050f1d516139664791/node_modules/debug" as pattern ["debug@^4.1.0","debug@^4.0.1"]. This could result in non-deterministic behavior, skipping.
我尝试了 yarn remove debug
然后 yarn add debug -D
,但是没有用。
非常感谢任何见解和建议!
意思是安装程序通常会创建安装目录,但在这种情况下,它偶然发现目录已经存在的情况。它警告您,如果它将文件放在那里,那么新文件可以与已经存在的文件共存。
尝试 运行:
rm -fR /Users/xyz/Library/Caches/Yarn/v4/npm-debug-4.1.1-3b72260255109c6b589cee050f1d516139664791/node_modules/debug
然后重新安装。
如果不行,试试运行:
rm -fR /Users/xyz/Library/Caches/Yarn/v4/npm-debug-4.1.1-3b72260255109c6b589cee050f1d516139664791/node_modules
然后重新安装。