-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Wrong symlink for node_modules.asar
#3355
Comments
Thanks for the report, @aptalca! And for investigating it a bit further. We'll investigate. cc @code-asher |
Strange...we essentially do:
So it seems like it shouldn't be possible for the symlink to be created incorrectly...not only that but we skip However I tried So...somehow the way I think I'll just re-create the symlink every time instead of checking that a link already exists to ensure it's correct. |
This ensures the link is correct. Should fix coder#3355.
This ensures the link is correct. Should fix coder#3355.
This ensures the link is correct. Should fix #3355.
OS/Web Information
code-server --version
: 3.10.0Steps to Reproduce
Expected
Should enable properly
Actual
Error message:
Logs
See above
Screenshot
N/A
Notes
The issue seems to be that
node_modules.asar
is incorrectly symlinked when code-server is installed via yarn.The symlink should point to
node_modules
and notlib/vscode/node_modules
Fixing the symlink fixes the issue, the extension is activated properly.
It seems PR #2197 attempted the symlink but perhaps incorrectly (did not dig into the code).
This issue can be reproduced in VS Code: Not tested
The text was updated successfully, but these errors were encountered: