Closed dylanbeattie closed 3 months ago
What were you using to install these dependencies? Both yarn and npm should automatically install the highest available version that matches the range given in the dependency declaration when you initially install.
You're right. Whatever the problem was, it wasn't that. Sorry for wasting your time.
The instructions at https://codemirror.net/examples/lang-package/ on how to create your own language package for CodeMirror refer to this repo (https://github.com/codemirror/lang-example.)
I cloned the repo and began working through the instructions at https://lezer.codemirror.net/docs/guide/#writing-a-grammar and quickly hit the error:
which led me to https://discuss.codemirror.net/t/generator-throws-error-on-docs-example/5008, in which @marijnh comments:
...and sure enough, lang-example still depends on @lezer/generator 1.0.0.
Looks like it hasn't been updated in a few years, so this PR bumps the various dependencies to their latest versions:
dependencies:
devDependencies: