-
-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Describe the bug
I guess this issue might well be within the territory of Svelte and their preprocess module, but I wonder if there is any workaround here or if anyone at postcss might be able to resolve the conflict.
I am unable to add the postcss-mixins plugins to my SvelteKit project.
Logs
code ERESOLVE
ERESOLVE could not resolve
While resolving: [email protected]
Found: [email protected]
node_modules/sugarss
sugarss@"^4.0.1" from [email protected]
node_modules/postcss-mixins
dev postcss-mixins@"*" from the root project
Could not resolve dependency:
peerOptional sugarss@"^2.0.0" from [email protected]
node_modules/svelte-preprocess
svelte-preprocess@"^4.0.0" from [email protected]
node_modules/svelte-check
dev svelte-check@"^2.7.1" from the root project
dev svelte-preprocess@"^4.10.7" from the root project
Conflicting peer dependency: [email protected]
node_modules/sugarss
peerOptional sugarss@"^2.0.0" from [email protected]
node_modules/svelte-preprocess
svelte-preprocess@"^4.0.0" from [email protected]
node_modules/svelte-check
dev svelte-check@"^2.7.1" from the root project
dev svelte-preprocess@"^4.10.7" from the root project
Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
To Reproduce
npm i -D postcss-mixins
in any Svelte project with svelte-preprocess
Expected behavior
The plugin should install without any problem.
Information about project
OS: Windows 10
Using SvelteKit
svelte-preprocess version 4.10.6