zmxv / react-native-sound-demo

react-native-sound demo project for iOS and Android
MIT License
99 stars 103 forks source link

npm install #18

Open ghost opened 5 years ago

ghost commented 5 years ago

Error with command npm install

npm ERR! Error while executing:
npm ERR! D:\app\git\bin\git.EXE ls-remote -h -t ssh://git@github.com/zmxv/react-native-sound.git
npm ERR!
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\tom\AppData\Roaming\npm-cache\_logs\2019-01-17T15_18_09_026Z-debug.log
ghost commented 5 years ago
1090 error Error while executing:
1090 error D:\app\git\bin\git.EXE ls-remote -h -t ssh://git@github.com/zmxv/react-native-sound.git
1090 error
1090 error Host key verification failed.
1090 error fatal: Could not read from remote repository.
1090 error
1090 error Please make sure you have the correct access rights
1090 error and the repository exists.
1090 error
1090 error exited with error code: 128
1091 verbose exit [ 1, true ]
DiegoFelipe commented 5 years ago

In your package.json file change

 "react-native-sound": "git+ssh://git@github.com:zmxv/react-native-sound.git#HEAD"

to

"react-native-sound": "^0.10.12"

Or the version you desire