有关ms.vss-web.platform权限的控制台错误 [英] console error regarding permissions for ms.vss-web.platform

查看:61
本文介绍了有关ms.vss-web.platform权限的控制台错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发Azure DevOps扩展,但在控制台中仍然看到以下错误.我很困惑,因为扩展本身没有问题可以访问我需要的所有API端点,并且程序中的其他任何地方都不会出错.坦率地说,我什至不知道我所遇到的是哪个天蓝色的devops npm依赖项.我认为它在sdk的内部身份验证中.

I am developing an Azure DevOps extension and I keep seeing the below error in my console. I am quite confused because the extension itself has no issues access all the API endpoints I need and nowhere else in the program do I get errors. I am frankly not even sure which of the azure devops npm dependencies I have is the issue. I presume its in the internal auth for the sdk.

ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1 No permissions found for security namespace '2e9eb7ed-3c0a-47d4-87c1-0ffdd275fd87' and token 'repoV2/f2613275-db5d-4cbb-95c8-00ba53f76641/cd200cef-44c7-4839-8f93-57c6a0979eaa/'. Ensure that the effective permissions are included in shared data.
handleMissingState @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
hasPermission @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
hasPermission @ ms.vss-code-web.repos-common.es6.IVnGfEDL4locZJoF.min.js:1
o @ ms.vss-code-web.repo-dropdown.es6.YGhYtNfEnTm__X8z4.min.js:1
wt @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
rn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
sn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
Yn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
$n @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
sr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
lr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
rr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
Xn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
hr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
yr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
wr.render @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
(anonymous) @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
pr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
xr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
render @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
renderPage @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
(anonymous) @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
notify @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
set value @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
(anonymous) @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1 No permissions found for security namespace '2e9eb7ed-3c0a-47d4-87c1-0ffdd275fd87' and token 'repoV2/f2613275-db5d-4cbb-95c8-00ba53f76641/cd200cef-44c7-4839-8f93-57c6a0979eaa/'. Ensure that the effective permissions are included in shared data.
handleMissingState @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
hasPermission @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
hasPermission @ ms.vss-code-web.repos-common.es6.IVnGfEDL4locZJoF.min.js:1
o @ ms.vss-code-web.repo-dropdown.es6.YGhYtNfEnTm__X8z4.min.js:1
wt @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
rn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
sn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
Yn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
$n @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
sr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
lr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
rr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
Xn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
hr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
yr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
wr.render @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
(anonymous) @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
pr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
xr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
render @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
renderPage @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
(anonymous) @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
notify @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
set value @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
(anonymous) @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1 No permissions found for security namespace '2e9eb7ed-3c0a-47d4-87c1-0ffdd275fd87' and token 'repoV2/f2613275-db5d-4cbb-95c8-00ba53f76641/cd200cef-44c7-4839-8f93-57c6a0979eaa/'. Ensure that the effective permissions are included in shared data.
handleMissingState @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
hasPermission @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
hasPermission @ ms.vss-code-web.repos-common.es6.IVnGfEDL4locZJoF.min.js:1
o @ ms.vss-code-web.repo-dropdown.es6.YGhYtNfEnTm__X8z4.min.js:1
wt @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
rn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
sn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
Yn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
$n @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
sr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
lr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
rr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
Xn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
hr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
yr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
wr.render @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
(anonymous) @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
pr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
xr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
render @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
renderPage @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
(anonymous) @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
notify @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
set value @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
(anonymous) @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1 No permissions found for security namespace '2e9eb7ed-3c0a-47d4-87c1-0ffdd275fd87' and token 'repoV2/f2613275-db5d-4cbb-95c8-00ba53f76641/cd200cef-44c7-4839-8f93-57c6a0979eaa/'. Ensure that the effective permissions are included in shared data.
handleMissingState @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
hasPermission @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
hasPermission @ ms.vss-code-web.repos-common.es6.IVnGfEDL4locZJoF.min.js:1
o @ ms.vss-code-web.repo-dropdown.es6.YGhYtNfEnTm__X8z4.min.js:1
wt @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
rn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
sn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
Yn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
$n @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
sr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
lr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
rr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
Xn @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
hr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
yr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
wr.render @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
(anonymous) @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
pr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
xr @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
render @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
renderPage @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
(anonymous) @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1
notify @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
set value @ ms.vss-web.core-content.es6.h5KNnhyJXjqXbn7t.min.js:1
(anonymous) @ ms.vss-web.platform-content.es6.PRFIe__3y_bOOZcQR.min.js:1

推荐答案

按照Microsoft网站上的教程创建测试Web扩展时,我遇到了类似的错误.经过调查,我发现安全名称空间是Git存储库,然后检查

I encountered a similar error when creating a test web extension following the tutorial from Microsoft site. After investigating i found the security namespace is Git Repositories, check here for more information.

并且只有在我将扩展目标定位为azure存储库的目标如下时,我才发现.该错误将显示在我的控制台中.

And i found only if i the targets for my extension targeted azure repository as below. The error will show up in my console.

但是我的扩展名不受影响,仍然可以运行.您可以尝试发布扩展程序并进行尝试."

However my extension is not affected and still functioning. You can just try publishing your extension and have a try. "

targets": [
        "ms.vss-code-web.code-hub-group"
      ],

我确认所有权限均已设置并正确.我在此处报告了一个问题.您可以对其进行投票并进行跟踪.

I confirmed that the permissions are all set and correct. I reported an issue here. You can go vote it up and track it on.

这篇关于有关ms.vss-web.platform权限的控制台错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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