Cloud sync databroker installation failing due to NPM install failure of ssh2 module with error 403
Applies to
- Cloud Sync
- On-prem Databroker with proxy
Issue
Databroker installation failing due to ssh2 module installation failure with below error in NPM install logs:
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'