I updated @codemirror/autocomplete@6.5.1 to 6.6.1。HTML syntax parsing error
"@codemirror/lang-html": "^6.0.0",
"@codemirror/autocomplete": "^6.6.1",
import { html } from '@codemirror/lang-html';
// When I comment out the html() it works fine
extension:[html()]
Yes, thank you very much marijn. I upgraded the version of Node from 16.3.1 to 18.16.0, and there is a problem with the dependencies installed by pnpm install
Babel is a transpilation tool, and should not affect codemirror. However, your Babel version and configuration may impact the browsers you are able to target.