lang-example-main package.json

To create a new language,

npm install rollup;npm install @rollup/plugin-node-resolve;
npm prepare

When I executed, the following error occurred.

npm ERR! code ETARGET
npm ERR! notarget No matching version found for @lezer/highlight@^0.19.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

When I rewrote package.json as follows, it was installed.


"@lezer/highlight": "^0.19.0",


"@lezer/highlight": "^0.16.0",

Is this workaround correct?
I am not confident because I have little knowledge about node.js.
Sorry for the vague report.

I’ve just pushed a patch that updates the versions of the dependencies in the example repository. Though I had done that already, but apparently not (and indeed, the last patch got the version for @lezer/highlight wrong).

Thank you for your reply.
I will use this patch.