microsoft / azure-devops-intellij

IntelliJ IDEA plug-in for Visual Studio Team Services and Team Foundation Server (TFS)
MIT License
151 stars 95 forks source link

Special characters in filenames in node_modules #469

Open altyne opened 2 years ago

altyne commented 2 years ago

My project contains C# and angular with npm packages (but packages are not checkin in TFS but pulled from yarn).

Error shown when opening a existing project or refresh VCS changes: "IDE error occurred"

Failed to get changes from command line . roots=D:/mywork/myproject

.... TFS10122: The path '$/sc/myproject/this_is_not_complete_path/$data.js' contains a '$' at the beginning of a path. Remove the '$' and try again....

ForNeVeR commented 2 years ago

Does this error have a stack trace? I remember us doing something to avoid issues like this (like filtering the paths before passing them to the TFVC client). Probably, certain ways of calling this function weren't properly protected from this.

altyne commented 2 years ago

stack.trace.rider.ampersand.error.log See attached.