Closed Konard closed 6 months ago
gitpod /workspace/dev (main) $ npm list @deep-foundation/deeplinks
@deep-foundation/dev@0.0.21 /workspace/dev
├─┬ @deep-foundation/deepcase@0.0.98 -> ./packages/deepcase
│ ├── @deep-foundation/deeplinks@0.0.322
│ └─┬ @deep-foundation/npm-automation@18.1.11
│ └── @deep-foundation/deeplinks@0.0.323 deduped -> ./packages/deeplinks
└─┬ @deep-foundation/deeplinks@0.0.323 -> ./packages/deeplinks
└─┬ @deep-foundation/npm-packager@0.0.39
└── @deep-foundation/deeplinks@0.0.298
gitpod /workspace/dev/packages/npm-packager (main) $ npm i @deep-foundation/deeplinks@latest
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @deep-foundation/npm-packager@0.0.39
npm ERR! Found: @deep-foundation/deeplinks@0.0.298
npm ERR! node_modules/@deep-foundation/deeplinks
npm ERR! peer @deep-foundation/deeplinks@"~0.0.298" from @deep-foundation/npm-automation@18.1.10
npm ERR! node_modules/@deep-foundation/npm-automation
npm ERR! dev @deep-foundation/npm-automation@"^18.1.10" from the root project
npm ERR! @deep-foundation/deeplinks@"0.0.323" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! @deep-foundation/deeplinks@"0.0.323" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @deep-foundation/react-hasura@0.0.27
npm ERR! node_modules/@deep-foundation/react-hasura
npm ERR! peer @deep-foundation/react-hasura@"~0.0.24" from @deep-foundation/deeplinks@0.0.323
npm ERR! node_modules/@deep-foundation/deeplinks
npm ERR! @deep-foundation/deeplinks@"0.0.323" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /home/gitpod/.npm/_logs/2023-12-29T05_54_49_598Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /home/gitpod/.npm/_logs/2023-12-29T05_54_49_598Z-debug-0.log
gitpod /workspace/dev (main) $ npm list @deep-foundation/deepcase
@deep-foundation/dev@0.0.21 /workspace/dev
├─┬ @deep-foundation/deepcase-app@0.1.0-beta.12 -> ./packages/deepcase-app
│ └── @deep-foundation/deepcase@0.0.98 deduped -> ./packages/deepcase
└── @deep-foundation/deepcase@0.0.98 -> ./packages/deepcase
Looks like there is no deepcase and deeplinks in node_modules. Is it expected?
Looks like anomaly.
node_modules/@deep-foundation/deepcase/node_modules/@deep-foundation/deeplinks/package.json
has 322 version;
but
node_modules/@deep-foundation/deeplinks/package.json
has 323 version.
gitpod /workspace/dev (main) $ npm list @deep-foundation/deeplinks
@deep-foundation/dev@0.0.21 /workspace/dev
├─┬ @deep-foundation/deepcase@0.0.98 -> ./packages/deepcase
│ ├── @deep-foundation/deeplinks@0.0.322
│ └─┬ @deep-foundation/npm-automation@18.1.11
│ └── @deep-foundation/deeplinks@0.0.323 deduped -> ./packages/deeplinks
└─┬ @deep-foundation/deeplinks@0.0.323 -> ./packages/deeplinks
└─┬ @deep-foundation/npm-packager@0.0.39
└── @deep-foundation/deeplinks@0.0.298
Solution (update deeplinks in deepcase):
gitpod /workspace/dev (main) $ npm run workspace-install --workspace_arg=deepcase --package_arg="@deep-foundation/deeplinks@latest"