跳转到主内容

由于ssh2模块的NPM安装失败并显示错误403、Cloud Sync 数据存储器安装失败

Views:
3
Visibility:
Public
Votes:
0
Category:
cloud-sync<a>2009年387202</a>
Specialty:
cloud
Last Updated:

适用场景

  • Cloud Sync
  • 具有代理的内部数据撤消程序

问题描述

由于ssh2模块安装失败、Databerker安装失败、NPM安装日志中显示以下错误:
11395 silly saveTree │ └──webpack-sources@3.2.3 11395 silly saveTree └──yargs@17.6.0 11396 verbose stack Error: 403 Forbidden - GET https://registry.npmjs.org/ssh2/-/ssh2-1.11.0.tgz 11396 verbose stack at /usr/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:117:15 11396 verbose stack at processTicksAndRejections (internal/process/task_queues.js:95:5) 11397 verbose statusCode 403 11398 verbose pkgidssh2@1.11.0 11399 verbose cwd /opt/netapp/databroker 11400 verbose Linux 3.10.0-1160.80.1.el7.x86_64 11401 verbose argv "/usr/bin/node" "/bin/npm" "i" "--production" 11402 verbose node v14.19.1 11403 verbose npm v6.14.16 11404 error code E403 11405 error 403 403 Forbidden - GEThttps://registry.npmjs.org/ssh2/-/ssh2-1.11.0.tgz 11406 error 403 In most cases, you or one of your dependencies are requesting 11406 error 403 a package version that is forbidden by your security policy. 11406 error 403 11406 error 403 It was specified as a dependency of 'databroker'

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.