Closed keesse closed 1 year ago
Not sure. I'm using node v20.2.0, so perhaps this is due to your older node version?
This page seems to indicate that the d
flag is only supported starting in v16, if I read it right.
I also note that our package.json has
"engines": {
"node": ">=17.0.0"
},
but this seems not to be enforced by your version of npm.
This page seems to indicate that the
d
flag is only supported starting in v16, if I read it right.
Or, more explicitly: https://node.green/#ES2022-features-RegExp-Match-Indices---hasIndices-----d--flag-
@jgm @waldyrious thank you for your reply, I managed to install node
v20.3.0.
Now djot
works and I can continue to experiment with it!
Kind regards, Kees
Hi,
I installed
djot
on Linux Mint 21.1 and node v12.22.9, using:npm install -g @djot/djot
After installation, I diddjot --help
and got:Any idea how resove this?