Open JackieCheung opened 2 years ago
+1
+1
WARN Issues with peer dependencies found
packages/dt-ebeca-manual
└─┬ vite-plugin-svg-icons
└─┬ svg-baker
└─┬ postcss-prefix-selector
└── ✕ unmet peer postcss@"7.x || 8.x": found 5.2.18 in svg-baker
Looking at the messages posted above and at this, I see that svg-baker
has a dependency on postcss@^5.2.17
and on postcss-prefix-selector@^1.6.0
. In the latest versions of postcss-prefix-selector
I've limited the versions of postcss that the prefixer supports to 7 and 8 which was causing the errors to show up.
I tested running the prefixer with postcss@5
and the unit tests ran fine so I think it's ok to loosen the version restriction, changed it to "postcss": ">4 <9"
in postcss-prefix-selector@1.15.0
TL;DR This should be fixed now, on npm install
, svg-baker
will pull in the latest prefixer with the new dependency range and it will stop complaining :D
Looking at the messages posted above and at this, I see that
svg-baker
has a dependency onpostcss@^5.2.17
and onpostcss-prefix-selector@^1.6.0
. In the latest versions ofpostcss-prefix-selector
I've limited the versions of postcss that the prefixer supports to 7 and 8 which was causing the errors to show up.I tested running the prefixer with
postcss@5
and the unit tests ran fine so I think it's ok to loosen the version restriction, changed it to"postcss": ">4 <9"
inpostcss-prefix-selector@1.15.0
TL;DR This should be fixed now, on
npm install
,svg-baker
will pull in the latest prefixer with the new dependency range and it will stop complaining :D
thanks for your time, Sir! and good luck with your library as well.
@JackieCheung this issue is solved, checked it - now it's all gone.
There is a warning message after npm install: