-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
VSCode Extension cannot find packages indicated in tsconfig.json #442
Comments
In version 1.8.0-1.8.5 there was a bug that caused the language server to ignore the You should specify Do you have all those plugins installed in import 'remark-frontmatter' |
Hi! Thanks for taking the time to contribute! This has been marked by a maintainer as needing more info. It’s not clear yet whether this is an issue. Here are a couple tips:
Thanks, |
Verify that those (and more) are in node_modules: I'm running Docusaurus, so i'm not fully clear on how to test the .mjs file, but these extensions work just fine in Docusaurus. Still have the same problems after removing Here's a fresh repository that shows the issue for me: https://github.com/Icexist/mdx-ext-debug There is a file |
As a note, that repo was created on MacOS and showed the issue in VSCode there, so this isn't limited to Windows. |
Thanks for the reproduction. I’m able to reproduce this on Linux too. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This was fixed in version 1.8.7 🎉 |
Initial checklist
Affected packages and versions
v1.8.6
Link to runnable example
No response
Steps to reproduce
When using the MDX plugin in VSCode, set the tsconfig.json file to have any number of plugins and try to open an mdx file.
It works just fine with the 1.8.5 version (installed via "install other version" in vscode)
my
tsconfig.json
file:Expected behavior
MDX should work as expected.
Actual behavior
The MDX plugin crashes:
Runtime
No response
Package manager
No response
OS
Windows 10, running VSCode remote in a WSL2 instance. MDX plugin runs on the WSL instance.
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: