You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I'm doing something wrong, but I'm unable to install the three main packages together (core, tools, streaming-image-volume-loader) because there are peer dependency conflicts.
I'm attempting to run (with none of them currently installed or in package.json) using the latest NPM (8.7.0) and Node.js (17.9.0):
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: my-project@0.0.1
npm ERR! Found: @cornerstonejs/core@0.4.6
npm ERR! node_modules/@cornerstonejs/core
npm ERR! @cornerstonejs/core@"*" from the root project
npm ERR! peer @cornerstonejs/core@"^0.4.3" from @cornerstonejs/streaming-image-volume-loader@0.2.20
npm ERR! node_modules/@cornerstonejs/streaming-image-volume-loader
npm ERR! @cornerstonejs/streaming-image-volume-loader@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! @cornerstonejs/tools@"*" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @cornerstonejs/core@0.3.4
npm ERR! node_modules/@cornerstonejs/core
npm ERR! peer @cornerstonejs/core@"^0.3.0" from @cornerstonejs/tools@0.9.1
npm ERR! node_modules/@cornerstonejs/tools
npm ERR! @cornerstonejs/tools@"*" 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! See C:\Users\MyUser\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\MyUser\AppData\Local\npm-cache\_logs\2022-04-19T15_15_55_145Z-debug-0.log
I'm not sure why, but tools and streaming both have devDependencies and peerDependencies that are incompatible with each other, and with the other libraries.
I can get core and tools to install, but not streaming-image-volume with them. Or, if I try just streaming-image-volume, I can't get 0.2.19 (latest) to install at all, but I can get 0.2.18, but then I can't get tools to install with it.
Edit: Just to note, if I use --legacy-peer-deps, I am able to install them, though having to use that flag is less than ideal (and if it is required, it should be mentioned in the documentation).
The text was updated successfully, but these errors were encountered:
Maybe I'm doing something wrong, but I'm unable to install the three main packages together (core, tools, streaming-image-volume-loader) because there are peer dependency conflicts.
I'm attempting to run (with none of them currently installed or in package.json) using the latest NPM (8.7.0) and Node.js (17.9.0):
Results in something like this:
I'm not sure why, but tools and streaming both have devDependencies and peerDependencies that are incompatible with each other, and with the other libraries.
I can get core and tools to install, but not streaming-image-volume with them. Or, if I try just streaming-image-volume, I can't get 0.2.19 (latest) to install at all, but I can get 0.2.18, but then I can't get tools to install with it.
Edit: Just to note, if I use --legacy-peer-deps, I am able to install them, though having to use that flag is less than ideal (and if it is required, it should be mentioned in the documentation).
The text was updated successfully, but these errors were encountered: