title: React-native - Build failed due to double-conversion
body: <p>I have created new react-native project through terminal.</p>
  
  <pre><code>react-native init PlayWithAnimation  
  </code></pre>
  
  <p>when I run the react-native app through Xcode. I got this error. </p>
  
  <p><a href="https://i.stack.imgur.com/eKmoS.png" rel="noreferrer"><img src="https://i.stack.imgur.com/eKmoS.png" alt="enter image description here"></a> </p>
  
  <blockquote>
    <p>/bin/sh -c \"/Users/sumit/Desktop/React\ Native/RNN/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh\"</p>
    
    <p>/Users/sumit/Desktop/React >Native/RNN/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh: line 2: cd: /Users/sumit/Desktop/React: No such file or directory</p>
    
    <p>/Users/sumit/Desktop/React >Native/RNN/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh: line 3: /Users/sumit/Desktop/React Native/RNN/node_modules/react-native/React/scripts/ios-install-third-party.sh: No such file or directory</p>
    
    <p>/Users/sumit/Desktop/React 
    Native/RNN/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh: line 3: exec: /Users/sumit/Desktop/React Native/RNN/node_modules/react-native/React/scripts/ios-install-third-party.sh: cannot execute: No such file or directory</p>
    
    <p>The following build commands failed:</p>
    
    <p>PhaseScriptExecution Install\ Third\ Party /Users/sumit/Desktop/React\
    Native/RNN/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh</p>
    
    <p>(1 failure)</p>
  </blockquote>
  
  <p>These are the version which I have used:</p>
  
  <pre><code>node v8.0.0
  npm 5.0.3
  react-native-cli: 2.0.1
  react-native: 0.46.0
  xcode 8.3.3
  </code></pre>
  
  <p>I have checked related to other stackoverflow Q &amp; A but did't get proper solution. </p>
  
  <p><strong>Temporary Solution:</strong></p>
  
  <p>It works smoothly if I create react-native with <code>version="0.44.0"</code>. But in <code>version 0.45.0, 0.46.0, 0.47.0</code> builds are failed and same <strong>"double-conversion"</strong> issue is getting. And one more thing, when I create new project third-party directory is missing.</p>
  
  <pre><code>node_modules/react-native/ (missing third-party directory)
  </code></pre>
  
  <p><strong>What would be the problem ?</strong></p>
  
  <p><strong>Tried Solution 1:</strong></p>
  
  <p>I did the following steps:</p>
  
  <ol>
  <li><p>download the files needed inside the .sh, put it in the ~/.rncache/.</p></li>
  <li><p>copy the downloaded files into node_modules/react-native/third-party/, ran tar -zxf *** to each file.</p></li>
  <li><p>build again. But not worked. </p></li>
  </ol>
  
  <p><strong>Tried Solution 2:</strong></p>
  
  <p><a href="https://medium.com/@jjerryhan/handling-third-party-build-error-on-react-native-0-46x-445f867e7a2b" rel="noreferrer">Handling third party build error on react-native 0.46x.</a> 
  and tried with <a href="https://github.com/facebook/react-native/issues/14423" rel="noreferrer">github</a> issue.</p>
  
  <p>I was really excited to finally get started with React Native but this bug absolutely kills my ability to proceed. I'd really appreciate if someone could help me out with this.</p>