Skip to content

npm install for split packages fails #1919

Description

@GigaFable

Which package are you using?

@react-native-vector-icons/*

What platform(s) does this occur on?

Android

Minimal reproducible example

Not Applicable

What happened?

Trying to run:

npx expo install @react-native-vector-icons/fontawesome-free-regular

Fails. It tries to load the repo from github:

› Installing 1 other package using npm
> npm install --save @react-native-vector-icons/fontawesome-free-regular
npm error code 128
npm error An unknown git error occurred
npm error command git --no-replace-objects ls-remote ssh://git@github.com/react-native-vector-icons/fontawesome.git
npm error git@github.com: Permission denied (publickey).
npm error fatal: Could not read from remote repository.

You need to do this first:

npx expo install @react-native-vector-icons/common

The docs I followed did not make me aware of this and shouldn't the dependency be bought in automatically?

Relevant log output

Your computer environment

Not Applicable - npm issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions