You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## How to solve : NPM packages are blocked by network firewalls
240
+
241
+
This network issue manifests in two stages. One stage is when you run the tests
242
+
interactively, i.e. using `npm` directly in the host machine. The steps below configures
243
+
npm, in the host machine, so that it is not blocked by network firewalls.
244
+
245
+
1. Make sure you are connected to the VPN in Full Tunnel mode. Artifactory returns an HTTP 403 forbidden error from anywhere outside the full corporate network.
246
+
2.`cd selenium`
247
+
3.`npm config set registry https://usw1.packages.broadcom.com/artifactory/api/npm/tds-rabbitmq-npm-virtual/ -L project`
248
+
4.`npm login --auth-type=web`
249
+
5. After you run the last command you should see the folowing sentence
Note: The `Dockerfile` copies the .npmrc into the image.
276
+
277
+
For further information, check out https://github.gwd.broadcom.net/TNZ/rabbitmq-private-docs/wiki/Artifactory-Docker#step-1-generate-artifactory-token.
278
+
279
+
Note: You will notice that building the mocha-image takes far longer now.
0 commit comments