Ckeditor5: Newest npm and node versions not supported

Created on 26 Jun 2019  路  7Comments  路  Source: ckeditor/ckeditor5

Having troubles with using ckeditor5-font with newer node and npm.

"Unsupported engine for @ckeditor/[email protected]: wanted: {"node":">=8.0.0","npm":">=5.7.1"} (current: {"node":"10.13.0","npm":"6.9.1-next.0"})"

Is there a workaround or could I test the editor with the new node and update it?

font question

All 7 comments

WAT... 馃槷 That doesn't seem to make any sense. We use >= version specifiers which mean that it should work with any newer version. But it doesn't because it filters out -next.0:

image

This is weird. What kind of version specifier we should be using then? 馃槵

I think that it makes perfect sense that we do not allow pre-releases: https://semver.org/#spec-item-9 but only stable versions.

ps.: from npm repo:

image

I think that it makes perfect sense that we do not allow pre-releases: https://semver.org/#spec-item-9 but only stable versions.

Why? If we're talking about your package deps, then I agree because releasing a new version of a dependency isn't in your control. But here we're talking about developer's environment and it's completely under their control.

@henrijeret Out of curiosity, what's your setting in .npmrc? Do you have perhaps engine-strict=true set there?

@henrijeret Out of curiosity, what's your setting in .npmrc? Do you have perhaps engine-strict=true set there?

You are right and this was causing this error. Removed the line (wasn't there with any purpose) and everything installed.

A case of inexperience. Thank you, @wwalc

Was this page helpful?
0 / 5 - 0 ratings