melt-ui / preprocessor

19 stars 4 forks source link

🐛Bug: Unable to install #22

Closed samjwillis97 closed 1 year ago

samjwillis97 commented 1 year ago

Describe the bug Unable to install package due to a clash in dependency versions with melt-ui/svelte

To Reproduce Steps to reproduce the behavior:

  1. Follow installation instructions from melt-ui.com

Screenshots

$ npm install -D @melt-ui/pp svelte-sequential-preprocessor                                                                                                  ~/Projects/signlar-chat
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: signlar-chat@0.0.1
npm ERR! Found: @melt-ui/svelte@0.24.0
npm ERR! node_modules/@melt-ui/svelte
npm ERR!   @melt-ui/svelte@"^0.24.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @melt-ui/svelte@"^0.22.0" from @melt-ui/pp@0.0.5
npm ERR! node_modules/@melt-ui/pp
npm ERR!   dev @melt-ui/pp@"*" 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! /Users/samwillis/.npm/_logs/2023-07-20T08_57_47_045Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/samwillis/.npm/_logs/2023-07-20T08_57_47_045Z-debug-0.log

Desktop (please complete the following information):

AdrianGonz97 commented 1 year ago

Hi @samjwillis97, thanks for raising an issue! I just pushed a change resolving the peer dependency issues. Would you mind trying again and seeing if it works now for @melt-ui/pp@0.0.6?

samjwillis97 commented 1 year ago

Just installed then with no problems 👍 thanks for fixing this so quickly 😄