Skip to content
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

Collaborator not able to see node_modules #4948

Open
KlautNet opened this issue Jul 10, 2023 · 2 comments
Open

Collaborator not able to see node_modules #4948

KlautNet opened this issue Jul 10, 2023 · 2 comments

Comments

@KlautNet
Copy link

Describe what happened:

  • join a liveshare session
  • attempt to see files in their node_modules directory
    -> autoimport does not work
  • but: When removing node_modules from .gitignore collaborator is able to see "changes" in the node_modules folder but cant see it in the explorer

What was your system configuration?
Product and Version [VS/VSCode]: VSCode 1.80.0
OS Version[macOS/Windows]: Windows 10
Live Share Extension Version: v1.0.5873
Target Platform or Language: NodeJs 16.17.1

Logs:

20230710_214235_16890253551790_VSCode.log

@derekbekoe
Copy link
Collaborator

Does this documentation help? It's possible to keep node_modules in .gitignore and still have it visible and accessible in a Live Share session.
https://learn.microsoft.com/en-us/visualstudio/liveshare/reference/security#controlling-file-access-and-visibility

@KlautNet
Copy link
Author

I tried adding a .vsls.json with this content:
{ "$schema": "http://json.schemastore.org/vsls", "gitignore":"exclude", "excludeFiles":[ "!node_modules" ] }
But the node_modules still are not shared

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants