路径中带有/的 Team Foundation 错误 [英] Team Foundation Error with the / in the path

查看:22
本文介绍了路径中带有/的 Team Foundation 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 npmjspm 安装一些软件包后,我看到如下错误.TFS 是否有一些设置可以接受这些无效字符.

After installing some packages using npm or jspm, I see errors like the following. Is there some settings for TFS to accept these invalid characters.

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.

推荐答案

您的服务器路径中不能有 $.

You cannot have a $ in your server path.

如果你真的必须在文件名中有一个 $ 那么你可以设置一个从 $/acceptable-filename 到的工作文件夹映射c:/$.to-object.js 的本地路径.

If you really must have a $ in a filename then you can set up a working folder mapping from $/acceptable-filename to a local path of c:/$.to-object.js.

(还要注意,您不应该只将文件放在存储库的根目录.将它们放在团队项目中.)

(Note also that you should not just put files at the root of a repository. Put them inside a team project.)

这篇关于路径中带有/的 Team Foundation 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆