0
I tried to install the React Navigation module in my project with the following command:
npm install --save react-navigation
But the following error returns to me:
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
Already tried to install using
sudo npm install --save react-navigation
?– Rafael Cavalcante