我从 GitHub 下载了一个 NodeJS 应用程序,在执行 npm install 时遇到以下错误。
npm ERR! code E401
npm ERR! Unable to authenticate, need: Bearer authorization_uri=https://login.windows.net/c1156c2f-a3bb-4fc4-ac07-3eab96da8d10, Basic realm="https://pkgsprodeus21.pkgs.visualstudio.com/", TFS-Federated
Run Code Online (Sandbox Code Playgroud)
我的 Node 版本是 6.13.1,NPM 版本是 6.13.4 以下是 package.json 文件的内容:
{
"name": "DemoApp",
"version": "1.0.0",
"description": "A social oasis for lovers of pizza.",
"repository": "****",
"main": "index.js",
"scripts": {
"start": "node index.js"
},
"author": "****",
"license": "MIT",
"dependencies": {
"@hapi/boom": "7.4.2",
"@hapi/catbox": "10.2.1",
"@hapi/catbox-redis": "5.0.2",
"@hapi/cookie": "10.1.0",
"@hapi/good": "8.2.0",
"@hapi/good-squeeze": "5.2.0",
"@hapi/hapi": "18.3.1",
"@hapi/inert": "5.2.1",
"@hapi/joi": "15.1.0",
"@hapi/vision": …Run Code Online (Sandbox Code Playgroud)