Skip to content

react-native-jose 404 #29

@ianconsolata

Description

@ianconsolata

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions