GoldenOwlAsia / react-native-twitter-signin

MIT License
167 stars 303 forks source link

Issues installing package #183

Open JackkFi5h opened 2 years ago

JackkFi5h commented 2 years ago

Hello, I am trying to add Twitter authentication to my react-native app. It is not a standard react-native app in that I am using Expo-CLI to handle the debugging of it during development and am unsure if there's anything I need to do. I have done everything in the readme apart from any changes to individual files after installing, as there is mention of altering .gradle files and the like but my project does not have these (no ios and android folders).

I get an error saying cannot read init of undefined when trying to call RNTwitterSignIn.init() which tells me the package is not installed correctly. Here's what i get when running npm install:

PS C:\Users\jack\Documents\Work\Project> npm install --save GoldenOwlAsia/react-native-twitter-signin#master
npm WARN @codler/react-native-keyboard-aware-scroll-view@1.0.0 requires a peer of react-native@>=0.63.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-prettier@6.11.0 requires a peer of eslint@>=3.14.1 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-chart-kit@2.6.1 requires a peer of react-native-svg@> 6.4.1 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-numeric-input@1.9.0 requires a peer of react-native-vector-icons@^4.* but none is installed. You must install peer dependencies yourself.
npm WARN react-native-tab-view@2.15.1 requires a peer of react-native-reanimated@* but none is installed. You must install peer dependencies yourself.
npm WARN react-native-webview@9.4.0 requires a peer of react-native@>=0.60 <0.62 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-webview@9.4.0 requires a peer of react-native-windows@^0.61.0-beta.58 but none is installed. You must install peer dependencies yourself.
npm WARN react-navigation-drawer@1.4.0 requires a peer of react-native-screens@^1.0.0 || ^1.0.0-alpha but none is installed. You must install peer dependencies yourself.
npm WARN react-navigation-stack@1.5.3 requires a peer of react-native-screens@^1.0.0 || ^1.0.0-alpha but none is installed. You must install peer dependencies yourself.
npm WARN react-navigation-tabs@1.2.0 requires a peer of react-native-screens@^1.0.0 || ^1.0.0-alpha but none is installed. You must install peer dependencies yourself.
npm WARN react-navigation-drawer@2.5.0 requires a peer of react-native-reanimated@^1.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-navigation-drawer@2.5.0 requires a peer of react-navigation@^4.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN react-navigation-stack@1.10.3 requires a peer of react-native-screens@^1.0.0 || ^1.0.0-alpha but none is installed. You must install peer dependencies yourself.
npm WARN react-navigation-stack@1.10.3 requires a peer of react-navigation@^4.0.7 but none is installed. You must install peer dependencies yourself.
npm WARN react-navigation-tabs@2.9.0 requires a peer of react-native-reanimated@^1.0.0-alpha but none is installed. You must install peer dependencies yourself.
npm WARN react-navigation-tabs@2.9.0 requires a peer of react-navigation@^4.1.1 but none is installed. You must install peer dependencies yourself.

+ react-native-twitter-signin@1.1.0
updated 1 package and audited 1303 packages in 18.465s

49 packages are looking for funding
  run `npm fund` for details

Any help would be greatly appreciated as I see a lot of people recommending to use this! :)