npm install for split packages fails

Author: GigaFableCreated Jun 14, 2026Updated Aug 23, 2026
Labelsbug

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:

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

Fails. It tries to load the repo from github:

bash
› 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://[email protected]/react-native-vector-icons/fontawesome.git
npm error [email protected]: Permission denied (publickey).
npm error fatal: Could not read from remote repository.

You need to do this first:

powershell
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

bash

Your computer environment

Not Applicable - npm issue

Source: oblador/react-native-vector-icons