Page MenuHomePhabricator

CodeMirror wants a specific version of Node but doesn't document which one
Closed, ResolvedPublic

Description

In package.json:

"node-debug": "node -v && npm -v && echo 'ERROR: Please ensure that production assets have been built with `npm run build` and commited, and that you are using the correct version of Node/NPM.'",

However package.json does not specify a node version, nor is an npm version specified anywhere.

Event Timeline

There is an .nvmrc file, which says 20.19.5.

We can specify it in package.json, too, but many of us use Fresh and that isn't updated very often. The latest release (24.05.1) is still on Node 20.12.2. Things incidentally should still will work, but you'll get a bunch of EBADENGINE warnings.

Commit that should be linked to this task: r1226898