I was trying to integrate react-native-image-crop-picker to my react-native project. It was easy to get it working on Android but to get it to work on iOS I had to spend some considerable amount of time. Here I am writing down
undefined is not a function(evaluating ‘_iterator[typeof Symbol === “function”?Symbol.iterator:”@@iterator”]()’) This is how I solved the above infamous problem in my react-native app. I am putting this here as a future reference for myself, hope this will help others along the way.
This problem can be quite annoying. Here is the part of my iTerm output displaying the error:
Serdars-MacBook-Pro:ReactNativeProjects serdarosmanonur$ sudo expo init proj2
? Choose a template: expo-template-blank
? Choose which workflow to use: managed
✔ Please enter a few initial configuration values.
Read more: https://docs.expo.io/versions/latest/workflow/configuration · 100% completed
[11:58:15] Extracting project files...
[11:58:15] Customizing project...
[11:58:15] Unable to initialize git repo. `git` not installed.
[11:58:15] Installing dependencies...
npm ERR! code 1
npm ERR! Command failed: /usr/local/bin/git clone --depth=1 -q -b expo-font-fix git://github.com/expo/vector-icons.git /Users/serdarosmanonur/.npm/_cacache/tmp/git-clone-3c497330
npm ERR! /Users/serdarosmanonur/.npm/_cacache/tmp/git-clone-3c497330/.git: Permission denied
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/serdarosmanonur/.npm/_logs/2019-02-09T08_58_32_541Z-debug.log
[11:58:32] Process exited with non-zero code: 1
[11:58:32] Set EXPO_DEBUG=true in your env to view the stack trace.
Here is my expo diagnostics:
sh-3.2# expo diagnostic
"diagnostic" is not an expo command. See "expo --help" for the full list of commands.
sh-3.2# expo diagnostics
Expo CLI 2.10.0 environment info:
OS: macOS 10.14.2
Shell: 3.2.57 - /bin/sh
Node: 10.15.1 - /usr/local/bin/node
npm: 6.4.1 - /usr/local/bin/npm
Android Studio: 3.3 AI-182.5126.96.36.19999772
Xcode: /undefined - /usr/bin/xcodebuild
To solve this I first tried launching a new terminal window and I immediately
It is what everybody wants. Ranking well on google search results. Being on the first page of the google search results for some keywords is one of the biggest achievements you could ever accomplish as a webmaster. Now you have
You want to gift an iOS App to a friend but you do not have any iDevices (iPhone/iPad/iPod). Can you still gift an app? Yes you can! Below you can find out how. 1- First, create an Apple ID here.
There are many ways to redirect mobile devices to mobile web sites and content. You can find about them on my post. But they all require an initial content to be sent to the client-side first. Your server receives the
With the increasing use of mobile devices and mobile applications webmasters want to make their websites mobile friendly more than ever. If you are a .NET developer like me and want to detect mobile devices this one is for you.