Hayden

Results 59 comments of Hayden

antlr4ng 问题跟踪: + https://github.com/mike-lischke/antlr4ng/issues/38 + https://github.com/mike-lischke/antlr4ng/issues/39

@zhaoygcq 感谢你的反馈 该问题已经被确认是一个 bug,我们将尽快修复。

有部署在线demo预览吗,有的话贴一下地址

You need to make sure that the Monaco Editor version is `0.31.0`, and the `languageWorker.ts` should be done with reference to this [Monaco doc integrate-esm.md#using-vite](https://github.com/microsoft/monaco-editor/blob/main/docs/integrate-esm.md#using-vite)

Can you provide the versions of the dependencies associated with this problem in your project? Includes vite, monaco-sql-languages and React Monaco Editor. Of course, the best-case scenario is that you...

> Also I'd like to mention that language support works fine with latest [email protected] (initial setup and solution found with version 0.31.0 recommended by your library). Yes, monaco-sql-languagues works with...

> > Sure, here they are (changing monaco version to 0.31.0 won't change anything): > > ```json > { > "monaco-editor": "^0.44.0", > "@monaco-editor/react": "^4.6.0", > "monaco-sql-languages": "^0.12.0-beta.7", > "vite":...

> webpack build error message > > ![图片](https://private-user-images.githubusercontent.com/85431995/289220891-0eba10ab-3b8a-4344-b6ca-77abb8c748d8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDIxMjQwMDQsIm5iZiI6MTcwMjEyMzcwNCwicGF0aCI6Ii84NTQzMTk5NS8yODkyMjA4OTEtMGViYTEwYWItM2I4YS00MzQ0LWI2Y2EtNzdhYmI4Yzc0OGQ4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjA5VDEyMDgyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM4NWU1YmNhZTU0NTM5NTQxOGU2OWI4YjJhNjA1NDc4YjAwNzU2NTIyMmVkODY4MzYzN2IxMzY3ODE1Y2Y2NmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Xxgx93OxcvRGYCdYQHIUtAGRsDERbgIlxHQyK5UbkbA) > @resetsix You need to install the [assert](https://www.npmjs.com/package/assert) package to fix this. see [webpack doc](https://webpack.js.org/configuration/resolve/#resolvefallback) about this problem .

@resetsix @glebcha I have to admit that we didn't do enough testing on the monaco-sql-langauges integration. Because monaco-sql-languages works well in webpack and umi projects, Regarding the sourceMap of dt-sql-parser,...

Correlation issue [vite #15359](https://github.com/vitejs/vite/issues/15359)