Closed scottjg closed 8 months ago
scottjg@scottjgs-MacBook-Air rewatch % pkgx --version
pkgx 1.1.5
after digging in a little more, i see that the node
package depends on unicode.org@^71
while postgres depends on unicode.org@^73
. i am a little confused... since it would seem like you should be able to have each package depend on different versions of a library dependency?
easy to reproduce with:
scottjg@scottjgs-MacBook-Air ~ % pkgx +node +postgres
× unexpected error cannot intersect: ^71 && ^73
│ Error: cannot intersect: ^71 && ^73
│ at Module.intersect (https://deno.land/x/libpkgx@v0.16.0/src/utils/semver.ts:384:30)
│ at hydrate (https://deno.land/x/libpkgx@v0.16.0/src/plumbing/hydrate.ts:51:48)
│ at eventLoopTick (ext:core/01_core.js:182:7)
│ at async failsafe (file:///Users/builder/actions-runner/_work/pkgx/pkgx/src/prefab/failsafe.ts:5:12)
│ at async default (file:///Users/builder/actions-runner/_work/pkgx/pkgx/src/prefab/install.ts:10:41)
│ at async default (file:///Users/builder/actions-runner/_work/pkgx/pkgx/src/modes/env.ts:6:25)
│ at async default (file:///Users/builder/actions-runner/_work/pkgx/pkgx/src/app.ts:120:21)
│ at async file:///Users/builder/actions-runner/_work/pkgx/pkgx/entrypoint.ts:59:3
i see this bug is explored/explained in https://github.com/pkgxdev/pantry/issues/4104
Yeah I really gotta come up with a solution for this. Probably for now trying to standardize on the same unicode (^71) as much as possible will do.