Conflicting peer dependency when installing on SvelteKit
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- tooling
調査の方向性
Start by reproducing the conflict with npm i -D postcss-mixins in a SvelteKit project using svelte-preprocess. Review the package dependency declarations and the reported sugarss peer-version requirements. Done means the plugin installs without requiring --force or --legacy-peer-deps, with the dependency resolution verified against the versions in the report.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- JavaScript
- スター
- 486
- フォーク
- 49
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
postcss/postcss-mixins のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
postcss/postcss-mixins#133 · コメント 6 件 · リアクション 1 件 ·
-
Option to ignore unresolvable mixins対応中かも @buschtoens が 2531 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
postcss/postcss-mixins#104 · コメント 1 件 ·
postcss/postcss-mixins の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 5 日以内に返信
-
[v11] MeshTransmissionMaterial deep-imports `three/src`, bundling a second copy of the node treeオープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
Update Doc linksオープン
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
fboucher/n8n-nodes-bdp#69 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sidebandstudio/clawtrate#727 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Tfoucher5/fuzzy-toolkit#44 ·
メンテナーはふだん 1 日以内に返信