I tried to install the React Navigation module in my project with the following command:
npm install --save react-navigation
But I get the following error:
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone -q git://github.com/react-navigation/react-native-tab-view.git /home/diegomng/.npm/_cacache/tmp/git-clone-ad6cfd48
npm ERR! /home/diegomng/.npm/_cacache/tmp/git-clone-ad6cfd48/.git: Permissão negada
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /home/diegomng/.npm/_logs/2018-04-03T16_31_55_746Z-debug.log
My version of NodeJS: v9.6.1
NPM: 5.8.0
Yarn: 0.22
react-native-cli: 2.0.1
react-native: 0.54.0