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

react-native-jose 404 #29

Open
ianconsolata opened this issue Oct 22, 2021 · 2 comments
Open

react-native-jose 404 #29

ianconsolata opened this issue Oct 22, 2021 · 2 comments

Comments

@ianconsolata
Copy link

When trying to run npm install, I get a 404 which inrerrupts the npm install process, preventing me from installing any new packages. After searching npm list for the cause, I found the following:


❯ node -v
v14.17.6
❯ npm -v
8.1.1
❯ npm list react-native-jose
[email protected] /Users/i/workspace/mysilio-co/garden
└─┬ [email protected]
  └── [email protected] invalid: "git+https://github.com/hellojoko/react-native-jose.git" from node_modules/solid-auth-fetcher

npm ERR! code ELSPROBLEMS
npm ERR! invalid: [email protected] /Users/i/workspace/mysilio-co/garden/node_modules/solid-auth-fetcher/node_modules/react-native-jose

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/i/.npm/_logs/2021-10-22T01_12_24_542Z-debug.log

It seems to believe the way in which the dependency is configured is wrong. When I manually installed react-native-jose the error went away. However, it wrote a different config to package.json that what is in your package.json: https://github.com/solid/solid-auth-fetcher/blob/master/package.json#L93

❯ cat package.json | grep jose 
    "react-native-jose": "github:hellojoko/react-native-jose",

I'm not sure if this is an issue with my local setup, or actually an issue with your package.json format, but wanted to surface this in case others face it too.

@ixuz
Copy link

ixuz commented Nov 3, 2021

I believe that we've run into the same issue, and found a possible workaround is to install packages via yarn.
However, I'm not exactly sure why it doesn't work for npm install .

@ianconsolata
Copy link
Author

We upgraded one of our libraries to use the most recent version of solid-auth-fetcher, and that seems to have taken care of the issue for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants