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

Missing dependency (auth required) #44

Open
iplanwebsites opened this issue Aug 26, 2024 · 7 comments
Open

Missing dependency (auth required) #44

iplanwebsites opened this issue Aug 26, 2024 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@iplanwebsites
Copy link

The packages hosted on npm require auth. Switching to github works (ex: "conf": "github:la-jarre-a-son/conf",) for two of them, but "@la-jarre-a-son/ui": "^1.2.3", is missing.

npm error code E401
npm error 401 Unauthorized - GET https://npm.pkg.github.com/download/@la-jarre-a-son/nlf/3.0.0/bcb2cefb8cfe5114cc1f5d18a4bbb0e9db99ea5e - unauthenticated: User cannot be authenticated with the token provided.
npm error A complete log of this run can be found in: /Users/f/.npm/_logs/2024-08-26T00_34_06_217Z-debug-0.log
@iplanwebsites iplanwebsites added the bug Something isn't working label Aug 26, 2024
@ArTiSTiX
Copy link
Contributor

@esttemanb Please do not share links to dropbox, particularly to zip files. Thanks

@ArTiSTiX
Copy link
Contributor

ArTiSTiX commented Aug 26, 2024

@iplanwebsites To install dependencies, you need o be authenticated to github packages in npm.
See https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-with-a-personal-access-token

This is due to some dependencies being forked and publicated only on github packages (which requires a token).

@ArTiSTiX
Copy link
Contributor

Also, changing dependencies to "github; ..." should not work properly because packages are built and those builds are not directly published in the repositories. So this will lead to compilation errors or unexpected behaviour.

@iplanwebsites
Copy link
Author

Thanks for the quick response.
The UI package looks private on both github and NPM (if it exists).

@ArTiSTiX ArTiSTiX added help wanted Extra attention is needed and removed bug Something isn't working labels Aug 26, 2024
@ArTiSTiX
Copy link
Contributor

The UI package is closed source, and is not published on NPM. It's only available as a package in Github Packages (with appropriate token, see github support page linked in previous comment).

@iplanwebsites
Copy link
Author

Gotcha! Thank you again,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants
@iplanwebsites @ArTiSTiX and others