QuickBlox / quickblox-react-native-samples

quickblox-react-native-samples
BSD 3-Clause "New" or "Revised" License
17 stars 27 forks source link

return fn.call(state, path, state); } could not be cloned. #25

Open mahammad72 opened 3 years ago

mahammad72 commented 3 years ago

image

when i clone from sample demo it's give me error like this

mahammad72 commented 3 years ago

can anyone help me ?

ghost commented 3 years ago

@mahammad72 could you please provide more information regarding how to replicate the issue you've faced? Output of npm list and react-native info may help to understand what the OS you're using and what versions of packages you've got. Try to look at the output of react-native doctor to see if you have some issues with environment setup.

mahammad72 commented 3 years ago

thanks for your response @olegshestakov

react-native info System: OS: Windows 10 10.0.19042 CPU: (8) x64 Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz Memory: 621.23 MB / 7.79 GB Binaries: Node: 14.15.3 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD npm: 6.14.9 - C:\Program Files\nodejs\npm.CMD Watchman: Not Found SDKs: Android SDK: API Levels: 23, 25, 26, 27, 28, 29, 30, 31 Build Tools: 26.0.1, 26.0.3, 28.0.3, 29.0.0, 29.0.1, 29.0.2, 29.0.3, 30.0.2, 30.0.3 System Images: android-21 | Android TV Intel x86 Atom, android-23 | Android TV ARM EABI v7a, android-29 | Android TV Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom_64, android-30 | Google Play Intel x86 Atom_64 Android NDK: Not Found Windows SDK: Not Found IDEs: Android Studio: Version 4.1.0.0 AI-201.8743.12.41.6953283 Visual Studio: Not Found Languages: Java: 1.8.0_271 npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: ^0.65.1 => 0.65.1 react-native-windows: Not Found npmGlobalPackages: react-native: Not Found

https://github.com/QuickBlox/quickblox-react-native-samples/issues/25#issuecomment-926553554

for environment setup is good because other react native project working fine

image

ghost commented 3 years ago

@mahammad72 thank you for providing information about your environment. It seems that you are using versions of packages different from the ones in this repository, at least versions of react and react-native are different. Here is the output from unmodified sample:

react: 16.9.0 => 16.9.0 
react-native: ^0.61.5 => 0.61.5

Could you please confirm that this issue reproducing in the sample application with the same versions of packages as specified in repository?

ghost commented 3 years ago

@mahammad72 Hello,

This is Nikolay from QuickBlox support.

Please make sure that you followed our documentation: https://docs.quickblox.com/docs/react-native-quick-start

Please let me know if you checked the previous comment and if the issue is still relevant. If yes, please provide the requested information.