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:
npx expo install @react-native-vector-icons/fontawesome-free-regularFails. 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://[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:
npx expo install @react-native-vector-icons/commonThe 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 issueSource: oblador/react-native-vector-icons