New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Unable to resolve package names with '@' #7
Comments
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 (microsoft/monaco-editor#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. |
@lukasbach It seems like the Monaco issue microsoft/monaco-editor#2295 is marked as completed. |
@lukasbach ping :) |
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.
The text was updated successfully, but these errors were encountered: