使用 npm 或 jspm 安装一些软件包后,我看到如下错误。是否有一些设置让TFS接受这些无效字符。
TF10122: The path '$/$.core.js' contains a '$' at the beginning of a path component. Remove the '$' and try again.
TF10122: The path '$/$.invoke.js' contains a '$' at the beginning of a path component. Remove the '$' and try again.
TF10122: The path '$/$.partial.js' contains a '$' at the beginning of a path component. Remove the '$' and try again.
TF10122: The path '$/$.to-object.js' contains a '$' at the beginning of a path component. Remove the '$' and try again.
TF10122: The path '$/$.to-iobject.js' contains a '$' at the beginning of a path component. Remove the '$' and try again.
TF10122: The path '$/$.object-to-array.js' contains a '$' at the beginning of a path component. Remove the '$' and try again.
答案 0 :(得分:4)
您的服务器路径中不能有$
。
如果您确实必须在文件名中包含$
,那么您可以设置从$/acceptable-filename
到本地路径c:/$.to-object.js
的工作文件夹映射。
(另请注意,您不应该只将文件放在存储库的根目录下。将它们放在团队项目中。)