-
-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Labels
please verifyCould you see if this is better now?Could you see if this is better now?
Description
Describe the bug
Appreciate your work on this. Ran into a weird issue, tho: The framework I'm using requires Prettier 3 for its internal eslint formatter but for some reason your package requires Prettier 2 as a peer dependency and therefore requires me to install packages with --legacy-peer-deps enabled. If you're not providing a language server to provide live code formatting in this package, could you not require that as a peer dep?
Thanks
❯ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: tinybase@4.1.3
npm ERR! Found: prettier@3.0.3
npm ERR! node_modules/prettier
npm ERR! dev prettier@"^3.0.3" from the root project
npm ERR! peer prettier@">= 3.0.0" from @electron-toolkit/eslint-config-prettier@1.0.1
npm ERR! node_modules/@electron-toolkit/eslint-config-prettier
npm ERR! dev @electron-toolkit/eslint-config-prettier@"^1.0.1" from the root project
npm ERR! 3 more (eslint-plugin-prettier, prettier-plugin-svelte, prettier-plugin-tailwindcss)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional prettier@"^2.8.8" from tinybase@4.1.3
npm ERR! node_modules/tinybase
npm ERR! dev tinybase@"^4.1.3" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: prettier@2.8.8
npm ERR! node_modules/prettier
npm ERR! peerOptional prettier@"^2.8.8" from tinybase@4.1.3
npm ERR! node_modules/tinybase
npm ERR! dev tinybase@"^4.1.3" 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/daniel/.npm/_logs/2023-08-31T21_11_14_966Z-eresolve-report.txt
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Create an Electron project using Svelte as your UI framework and add Tinybase.
Expected behavior
To not be forced to choose a linter version by my reactive store?
Screenshots or Videos
No response
Platform
- OS: MacOS 13.5.1
- Browser: n/a
- Version: 4.1.1
Additional context
No response
Metadata
Metadata
Assignees
Labels
please verifyCould you see if this is better now?Could you see if this is better now?