annotorious-openseadragon icon indicating copy to clipboard operation
annotorious-openseadragon copied to clipboard

OpenSeaDragon@^5.0.0 is unsupported by annotorious-openseadragon

Open zfox23 opened this issue 1 year ago • 2 comments

Hello! Thanks for maintaining this plugin.

When doing: npm install @recogito/annotorious-openseadragon

I get:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/openseadragon
npm ERR!   openseadragon@"^4.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer openseadragon@"^3.0.0" from @recogito/[email protected]
npm ERR! node_modules/@recogito/annotorious-openseadragon
npm ERR!   @recogito/annotorious-openseadragon@"*" from the root project

I'm going to try to --force install the plugin and see what happens - but it'd be great to have OSD v5+ support. 🙂

zfox23 avatar May 31 '23 22:05 zfox23

There was an issue with OSD 4.0 and keeping annotations in sync while pinch-rotating. But that should be fixed now in OSD 4.1 (which is the latest). Let me know how it goes, and I'll update the peer dependency in package.json.

rsimon avatar Jun 01 '23 04:06 rsimon

The Test-Page was already migrated to 4.1 in https://github.com/annotorious/annotorious-openseadragon/commit/0a4f32c33babc5ae73be137a25cb93c5446e6feb - maybe the peer dependency should be updated.

pmandalka avatar Jan 22 '24 16:01 pmandalka