envelope-zero / frontend

Official frontend for Envelope Zero
Other
6 stars 2 forks source link

`@envelope-zero/ynap-parsers` requires an authentication token #1559

Closed sigmike closed 4 months ago

sigmike commented 5 months ago

Describe the bug Running npm install raises this error:

npm ERR! 401 Unauthorized - GET https://npm.pkg.github.com/download/@envelope-zero/ynap-parsers/1.17.1/531f91debdff73e12f1de0b535f2ba5481f218b1 - authentication token not provided

To Reproduce Steps to reproduce the behavior:

  1. Remove any npm authentication from your environment, I guess
  2. Clone the repository
  3. Run npm install
  4. See error

Expected behavior npm install should succeed without additional authentication.

Desktop:

morremeyer commented 5 months ago

Unfortunately, GitHub does not allow anonymous access to the npm registry, even if it's read only for a public package.

For now, you'll have to perform the second step in https://github.com/envelope-zero/frontend/blob/main/CONTRIBUTING.md#tool--repository-setup for npm install to succeed.

We've been thinking about pushing the ynap-parsers package to npm also, but that has not been implemented yet.

morremeyer commented 5 months ago

@sigmike This will be fixed once #1576 is merged. If you want to give it a try already, check out chore/parsers-from-npm.