Nativebase: Error when trying to install native-base

Created on 9 Sep 2017  路  14Comments  路  Source: GeekyAnts/NativeBase

Helllo! I get the following error when trying to install the package:

npm ERR! git fetch -a origin (https://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git) fatal: unable to access 'https://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git/': Unknown SSL protocol error in connection to github.com:443
npm ERR! git fetch -a origin (https://github.com/GeekyAnts/react-native-drawer.git) fatal: unable to access 'https://github.com/GeekyAnts/react-native-drawer.git/': Unknown SSL protocol error in connection to github.com:443
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true fetch -a origin
npm ERR! fatal: unable to access 'https://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git/': Unknown SSL protocol error in connection to github.com:443
npm ERR!

"dependencies": {
"expo": "^20.0.0",
"mobx": "^3.2.2",
"mobx-react": "^4.2.2",
"react": "16.0.0-alpha.12",
"react-native": "^0.47.0"
}

Most helpful comment

I got the same error after clone the repository and npm install.
It works fine if i change to 2.2.1 but with 2.3.1 it crashes but only in 1 computer, the computer where i first created the project don't throw me any error.
Any ideas??

npm install
npm ERR! git fetch -a origin (https://github.com/GeekyAnts/react-native-drawer.git)
npm ERR! git fetch -a origin (https://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git)
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true fetch -a origin
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Anja\AppData\Roaming\npm-cache_logs\2017-09-15T04_35_05_410Z-debug.log

All 14 comments

+1

I got the same error after clone the repository and npm install.
It works fine if i change to 2.2.1 but with 2.3.1 it crashes but only in 1 computer, the computer where i first created the project don't throw me any error.
Any ideas??

npm install
npm ERR! git fetch -a origin (https://github.com/GeekyAnts/react-native-drawer.git)
npm ERR! git fetch -a origin (https://github.com/GeekyAnts/react-native-keyboard-aware-scroll-view.git)
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true fetch -a origin
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Anja\AppData\Roaming\npm-cache_logs\2017-09-15T04_35_05_410Z-debug.log

im facing the same issue
image

@koloff @anjapadu @Vicneswari Do you still find this issue?

Closing this issue due to inactivity
Please reopen this if the issue continues

Hi All,
Can anyone of you help me out with this issue:

unable to access 'https://github.com/GeekyAnts/react-native-drawer.git/': Failed to connect to github.com port 443: Connection refused

@koloff @SupriyaKalghatgi @Vicneswari @anjapadu @beausmith
Thanks..!! in advance

@Su2294chi node and npm version?

@SupriyaKalghatgi Hi Supriya..
the node version is :- v8.9.1
npm version is 5.5.1 and
react- native version is 0.51.0
please let me know if any other info is required that would lead in resolving the issue..

I installed native-base to my react-native project with yarn yarn add native-base and then did react-na茂ve link. After this when I run the app with no changes, I am getting below error -

[1] local-cli\wrong-react-native.js" run-android was unexpected at this time.
[1]
[1] c:\working\AWS\wish2eat-reactNative-app>)local-cli\wrong-react-native.js" run-android
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 255.

after this if I remove native-base (yarn remove native-base), the project starts running fine as before. This means some error is getting introduced with addition of native-base to the project. Any clue what could be going wrong?

@Su2294chi try with npm 4, maybe

@bharat-tiwari Did you try with npm i native-base --save?

@SupriyaKalghatgi tried installing with npm as well, but same error :(

alright, I got the error fixed, did several things, not sure what fixed it. Updated npm and node to latest version. Saw some comment on react-native's GitHub to put 'react-native-cli' before 'react-native' in package.json, so did that as well. Also updated yarn. Finally removed my node_modules and ran yarn install again and now the app is running good with native-base. Thanks

@SupriyaKalghatgi have installed it with the above mentioned configurations in two systems and for one its working fine with no additional change and for the other it is not working fine..
anyother alternative @SupriyaKalghatgi that you can suggest..!!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mcpracht picture mcpracht  路  3Comments

bsiddiqui picture bsiddiqui  路  3Comments

nschurmann picture nschurmann  路  3Comments

kitsune7 picture kitsune7  路  3Comments

sihemhssine picture sihemhssine  路  3Comments