We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
The current version has a peerDependency from svelte 4.x. So you can't install it with svelte 5.x. Can you add support for svelte 5?
To Reproduce
Create a svelte 5 project
npx sv create
add prettier and prettier-plugin-svelte
npm i -D prettier prettier-plugin-svelte
install latest prettier-plugin-sort-imports
npm i -D @trivago/prettier-plugin-sort-imports@latest
Expected behavior
latest @trivago/prettier-plugin-sort-imports is installed
Error log
npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: [email protected] npm error Found: [email protected] npm error node_modules/svelte npm error dev svelte@"^5.0.0" from the root project npm error peer svelte@"^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0" from [email protected] npm error node_modules/prettier-plugin-svelte npm error dev prettier-plugin-svelte@"^3.3.2" from the root project npm error peerOptional prettier-plugin-svelte@"3.x" from @trivago/[email protected] npm error node_modules/@trivago/prettier-plugin-sort-imports npm error @trivago/prettier-plugin-sort-imports@"5.2.0" from the root project npm error npm error Could not resolve dependency: npm error peerOptional svelte@"4.x" from @trivago/[email protected] npm error node_modules/@trivago/prettier-plugin-sort-imports npm error @trivago/prettier-plugin-sort-imports@"5.2.0" from the root project npm error
Contribute to @trivago/prettier-plugin-sort-imports
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The current version has a peerDependency from svelte 4.x. So you can't install it with svelte 5.x. Can you add support for svelte 5?
To Reproduce
Create a svelte 5 project
npx sv create
add prettier and prettier-plugin-svelte
npm i -D prettier prettier-plugin-svelte
install latest prettier-plugin-sort-imports
npm i -D @trivago/prettier-plugin-sort-imports@latest
Expected behavior
latest @trivago/prettier-plugin-sort-imports is installed
Error log
Contribute to @trivago/prettier-plugin-sort-imports
The text was updated successfully, but these errors were encountered: