I'm testing `2.4.0-Beta2`. I'm using `cssnano` and...
# webassembly
r
I'm testing
2.4.0-Beta2
. I'm using
cssnano
and
postcss
dependencies in my project. WasmJS KGP tooling uses Node 25 and I have a long warning (see thread):
Copy code
> Task :kotlinWasmNpmInstall
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'cssnano@8.0.1',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'cssnano-preset-default@8.0.1',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'cssnano-utils@6.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-colormin@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-convert-values@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-discard-comments@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-discard-duplicates@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-discard-empty@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-discard-overridden@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-merge-longhand@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-merge-rules@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-minify-font-values@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-minify-gradients@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-minify-params@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-minify-selectors@8.0.1',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-charset@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-display-values@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-positions@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-repeat-style@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-string@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-timing-functions@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-unicode@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-url@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-whitespace@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-ordered-values@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-reduce-initial@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-reduce-transforms@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-svgo@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-unique-selectors@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'stylehacks@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v25.0.0', npm: '11.6.2' }
npm warn EBADENGINE }
Can KGP upgrade to node 26 before the release?
What is the correct way to override node version? (
BaseNodeJsRootExtension.version
is deprecated with level Error)
t
You can copy/check this plugin and 2 related.
Or you can apply
latest-tools
plugin from KFC 😉
1 file plugin is here
r
Hmm ... I'm also have this:
Copy code
> Task :kotlinNpmInstall
npm warn ERESOLVE overriding peer dependency
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'cssnano@8.0.1',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'cssnano-preset-default@8.0.1',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'cssnano-utils@6.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-colormin@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-convert-values@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-discard-comments@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-discard-duplicates@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-discard-empty@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-discard-overridden@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-merge-longhand@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-merge-rules@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-minify-font-values@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-minify-gradients@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-minify-params@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-minify-selectors@8.0.1',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-charset@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-display-values@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-positions@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-repeat-style@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-string@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-timing-functions@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-unicode@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-url@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-normalize-whitespace@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-ordered-values@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-reduce-initial@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-reduce-transforms@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-svgo@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'postcss-unique-selectors@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'stylehacks@8.0.0',
npm warn EBADENGINE   required: { node: '^22.11.0 || ^24.11.0 || >=26.0' },
npm warn EBADENGINE   current: { node: 'v24.10.0', npm: '11.6.1' }
npm warn EBADENGINE }
And it's a bit strange because node 24 should be ok. Why do we have
v24.10.0
and not just
24.10.0
?
t
It's what
node --version
returns 😉
Even regular installation
r
ok, but am I correct version
24.10.0
should be compatible with
^24.11.0
dependency?
so why this warning?
t
You need
24.11.0
or higher
But you have
24.10.0
24.15.0
- latest LTS
r
But
^
prefix should match all major 24 versions
or maybe I'm wrong about it ...
t
^24.11.0
means
24.11.0
or higher minor
2
b
cc @Ilya Goncharov [JB]
i
Could you please submit an issue?