lob / lob-typescript-sdk

MIT License
10 stars 7 forks source link

Yarn / NPM registry entry missing? #279

Closed TrevorS closed 3 months ago

TrevorS commented 3 months ago

Summary

It seems like maybe the registry entry was removed again?

> [graphql 6/7] RUN yarn install:
0.388 yarn install v1.22.19
0.491 [1/4] Resolving packages...
0.759 [2/4] Fetching packages...
1.526 error An unexpected error occurred: "https://registry.yarnpkg.com/@lob/lob-typescript-sdk/-/lob-typescript-sdk-1.2.0.tgz: Request failed \"404 Not Found\"".
1.527 info If you think this is a bug, please open a bug report with the information provided in "/opt/target/app/yarn-error.log".
1.527 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
failed to solve: process "/bin/sh -c yarn install" did not complete successfully: exit code: 1
make[1]: *** [docker/build] Error 17
make: *** [build] Error 2
TrevorS commented 3 months ago

https://github.com/lob/lob-typescript-sdk/actions/workflows/npm_publish.yml

frankylee commented 3 months ago

Following this, too.

tjhelsel commented 3 months ago

@juanfriss it looks like this may have coincided with this recent release: https://github.com/lob/lob-typescript-sdk/releases/tag/v1.3.4

noammansur commented 3 months ago

Arghh, any update @juanfriss ?

QuentinLemCode commented 3 months ago

This probably come from this line in package.json

  "publishConfig": {
    "access": "restricted"
  },
juanfriss commented 3 months ago

version 1.3.5 is now published

QuentinLemCode commented 3 months ago

@juanfriss Still not found for me

image

Are you sure the package is public ?

juanfriss commented 3 months ago

@QuentinLemCode I could just install it but let me check that!

image
QuentinLemCode commented 3 months ago

@QuentinLemCode I could just install it but let me check that!

image

You are publishing it as restricted package, look in the package.json file.

QuentinLemCode commented 3 months ago

@juanfriss What this command gives you ? npm access get status @lob/lob-typescript-sdk

If private, you will need to pass it public with this command : npm access set status=public @lob/lob-typescript-sdk

QuentinLemCode commented 3 months ago

For those who can't wait (ie. blocking CI/CD pipeline) I have uploaded a mirror of the lib on npm Just replace the dependency in your package.json by this :

"@lob/lob-typescript-sdk": "npm:@quentinlem/lob-typescript-sdk-mirror@1.3.5",

I just forked the repo here : https://github.com/QuentinLemCode/lob-typescript-sdk NPM : https://www.npmjs.com/package/@quentinlem/lob-typescript-sdk-mirror

juanfriss commented 3 months ago

npm access get status @lob/lob-typescript-sdk

private, you are right. I'm gonna fix this now.

juanfriss commented 3 months ago

it is now public

juanfriss commented 3 months ago

can you confirm @QuentinLemCode?

QuentinLemCode commented 3 months ago

can you confirm @QuentinLemCode?

I confirm @juanfriss :)

image
juanfriss commented 3 months ago

fantastic