ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Incompatible Node.js version due to cssnano

Open Reinmar opened this issue 1 year ago • 3 comments

Provide a description of the task

Upon setting up our dev env I got this:

[3/5] 🚚  Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version "^18.12.0 || ^20.9.0 || >=22.0". Got "21.6.2"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Which isn't in line with what we require:

https://github.com/ckeditor/ckeditor5/blob/1145286e5aadd6d3d2f241800358204d577b4938/package.json#L167

The installation of the dev env didn't work so this is a hard blocker, not just a complaint.

Looking at this chart (v18 is still supported til mid-2025), I propose to require Node.js in version  ^18.12.0 || ^20.9.0 || >= 22.0.0.

📃 Other details

  • Browser: …
  • OS: …
  • CKEditor version: …
  • Installed CKEditor plugins: …

Reinmar avatar Jun 10 '24 11:06 Reinmar

The question here is whether our Node.js version specifier should reflect our requirements (of our part of the dev env) or an aggregated, final dependency of us and all our dependencies.

I have no answer to that question :D

Anyways, all works fine on v20.14.0.

Reinmar avatar Jun 10 '24 12:06 Reinmar

I'm havine same issue with nuxt 2

moulcode avatar Jun 14 '24 21:06 moulcode

I'm havine same issue with nuxt 2

me tooo.

tuannguyenminh2086 avatar Jun 19 '24 06:06 tuannguyenminh2086

I'm solved this issue with yarn install --ignore-engines

I'm using nuxt 2 with node v16

arislanhaikal avatar Jul 08 '24 07:07 arislanhaikal

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot avatar Jul 08 '25 23:07 CKEditorBot

We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

CKEditorBot avatar Aug 08 '25 23:08 CKEditorBot