我有两个通过yarn使用 git URL:s获取的子模块
foo,它存在于版本0.5.38中,并且依赖于bar: ^0.5bar, 存在于版本中0.5.1
我的apppackage.json:
foo: git+ssh://git@github.com:myorg/foo#semver:0.5.38,
bar: git+ssh://git@github.com:myorg/bar#semver:0.5.1,
在构建这个时,我得到:
warning Pattern ["bar@git+ssh://git@github.com:myorg/bar.git#semver:^0.5"] is trying to unpack in the
same destination "~/.cache/yarn/v6/npm-bar-0.5.1-344cefa6f7681a6a15e52adbff65cbaf6cf67318/node_modules/bar"
as pattern ["bar@git+ssh://git@github.myorg/bar.git#semver:0.5.1"].
This could result in non-deterministic behavior, skipping.
这是什么意思?我的配置有什么不正确的吗?我想要的只是foousesbar @ 0.5.x和appuses foo @ 0.5.38and bar @ 0.5.1,它们应该是兼容的,对吧?