Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package-lock.json for weather-server-typescript points to internal artefact server #8

Open
tomduncalf opened this issue Feb 2, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@tomduncalf
Copy link

Describe the bug
package-lock.json includes references to https://artifactory.infra.ant.dev:443, which I assume is an internal artefact server.

This prevents npm install from running. The workaround is to delete package-lock.json

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo in an environment without access to this server
  2. Run npm install inside weather-server-typescript

Expected behavior
npm install to succeed.

Logs

npm http fetch GET 401 https://artifactory.infra.ant.dev/artifactory/api/npm/npm-all/@types/node/-/node-22.10.0.tgz 562ms (cache skip)
npm verbose stack HttpErrorAuthUnknown: Unable to authenticate, need: Basic realm="Artifactory Realm"
npm verbose stack     at /Users/td/.nvm/versions/node/v23.6.0/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js:88:17
npm verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
npm verbose statusCode 401
npm verbose pkgid zod-to-json-schema@https://artifactory.infra.ant.dev:443/artifactory/api/npm/npm-all/zod-to-json-schema/-/zod-to-json-schema-3.24.1.tgz
npm error code E401
@tomduncalf tomduncalf added the bug Something isn't working label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant