Closed SomaticIT closed 1 year ago
The tests in the lezer-html repository run fine for me, also on a fresh checkout. Could you say a bit more about what you are doing?
I'm experiencing a similar issue, which occurs when attempting to write anything inside a script
block. Not sure if they're related, but based on the stack trace it looks very similar:
"@codemirror/basic-setup": "^0.20.0",
"@codemirror/lang-html": "^6.4.2",
"@codemirror/state": "^6.2.0",
"@codemirror/theme-one-dark": "^6.1.0",
"@codemirror/view": "^6.9.0",
Maybe related to https://github.com/codemirror/dev/issues/1064 ?
"@codemirror/basic-setup": "^0.20.0",
This package is deprecated. Use the package named "codemirror" instead.
"@codemirror/basic-setup": "^0.20.0",
This package is deprecated. Use the package named "codemirror" instead.
Yes, apologies. It's not used in the project (just forgot to remove the package) - I'm using the latest (^6.0.1
) of codemirror
.
Same, maybe this has something to do with react. Strange that it's almost the exact same error though.
It's very strange, can't seem to replicate it on CodeSandbox either, using the exact same packages I use locally.
Locally, I don't even get any syntax highlighting. No clue what's going on - sorry for bumping this issue!
Solved by npm uninstall
ing all related packages and reinstalling them fresh. Thank you for your patience, hope you have a good weekend :)
Hi,
Thank you for your work on this project.
I try to experiment building a lezer parser for a language similar to HTML.
When I run the tests, I get this error on mixed tests:
I can replicate this error on
lezer-html
when testingmixed.txt
using0.13
deps. I use node 14.Do you have the same issue?
Thanks