openpatch / hyperbook

Hyperbook is a quick and easy way to build interactive workbooks, that support modern standards and runs superfast.
https://hyperbook.openpatch.org
MIT License
33 stars 7 forks source link

Error in npm dependency resolution #872

Closed xeruf closed 4 months ago

xeruf commented 5 months ago

Error in dependency resolution, similar to #202

> npx --yes hyperbook@latest setup
[Software-Challenge Dokumentation] Setup Project.
(⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠙ idealTree:.hyperbook: sill idealTree b(⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) 

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @platforms/web@0.31.0
npm ERR! Found: @reduxjs/toolkit@1.9.7
npm ERR! node_modules/@reduxjs/toolkit
npm ERR!   peer @reduxjs/toolkit@"1.x" from @hyperbook/element-bookmarks@0.3.2
npm ERR!   node_modules/@hyperbook/element-bookmarks
npm ERR!     @hyperbook/element-bookmarks@"0.3.2" from the root project
npm ERR!   peer @reduxjs/toolkit@"1.x" from @hyperbook/element-dl@0.2.2
npm ERR!   node_modules/@hyperbook/element-dl
npm ERR!     @hyperbook/element-dl@"0.2.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! @hyperbook/element-excalidraw@"0.6.2" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @reduxjs/toolkit@2.2.5
npm ERR! node_modules/@reduxjs/toolkit
npm ERR!   peer @reduxjs/toolkit@"2.x" from @hyperbook/element-excalidraw@0.6.2
npm ERR!   node_modules/@hyperbook/element-excalidraw
npm ERR!     @hyperbook/element-excalidraw@"0.6.2" 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/janek/.local/cache/npm/_logs/2024-05-22T06_43_40_394Z-eresolve-report.txt
mikebarkmin commented 4 months ago

Fixed in version 0.31.1 (see e9359e1e8d51be1d2a71d76e74940e0eb844a74c)