-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When I try to build the project using make , I'm getting the following error, because the project depends on @keetanetwork/web-ui-utils which is a private package:
npm error code E401
npm error 401 Unauthorized - GET https://npm.pkg.github.com/download/@keetanetwork/web-ui-utils/1.3.10/4a8633f88cdb9192132f06c9500aa2c9ad0da58e - authentication token not provided
Additionally, the web app depends on @keetanetwork/web-ui which is also private:
npm error code E401
npm error 401 Unauthorized - GET https://npm.pkg.github.com/download/@keetanetwork/web-ui/1.3.18/939a5cfae72aaf617c31aa8228d59b6ad177b6ca - authentication token not provided
When I remove that dependency from the package.json file to check whether the rest could be downloaded successfully I'm getting the following error:
npm error code E401
npm error 401 Unauthorized - GET https://npm.pkg.github.com/download/@KeetaNetwork/keetanet-client/0.14.7/c9d8bea8be445cc20dfaca1fd5afed63f7b38fcf - authentication token not provided
This is because in the root of the project the .npmrc defines the registry for @keetanetwork packages to be the private GitHub NPM registry:
@keetanetwork:registry=https://npm.pkg.github.com
Steps to reproduce
-
Start a fresh Node Docker container to avoid any local authentication configuration
docker run -it --rm node:24-alpine /bin/ash
-
Install dependencies, clone, and make the project:
apk add git make git clone https://github.com/KeetaNetwork/explorer.git cd explorer make -
Observe the error
npm error code E401
Metadata
Metadata
Assignees
Labels
No labels