monaco-editor-auto-typings
monaco-editor-auto-typings copied to clipboard
[BUG] Unable to resolve package names with '@'
I think it should be caused by encoding the package name path when parsing the uri.
use "import * as sdk '@weapp/ecodesdk'" is not ok.
you can see , " import * as sdk from '%40weapp/ecodesdk'" is ok.
Hi @Qfengx! This is a known bug (https://github.com/lukasbach/monaco-editor-auto-typings#known-limitations), which is caused by an issue on the side of monaco-editor (https://github.com/microsoft/monaco-editor/issues/2295). Scoped packages are currently not supported because of this.
Hi @lukasbach
Thanks for your amazing work
I've worked trying to understand the problem and finally I found out.
I've submitted this PR to monaco-editor hoping it will be approved and merged soon
@bsorrentino Thank you for your effort in investigating this and proposing a fix :)
I'm very much hoping for it to get merged on monaco-editor.