Ignite: Error: ENOENT: no such file or directory, uv_chdir

Created on 16 Mar 2017  Â·  13Comments  Â·  Source: infinitered/ignite

Hey there! Ignite seems to be having a problem, eh?

I've install the CLI and all dependencies (react native is working OK).
Yet, when I try to create new PizzaApp I'm getting this error:
Error: ENOENT: no such file or directory, uv_chdir
I removed NVM, updated NODE, drank green tea...., but nothing worked

Here is my ignite doctor output:

System
  platform           darwin                                                                                  
  arch               x64                                                                                     
  cpu                8 cores                            Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz  
  directory          /Users/israelmacpro/CodeProjects                                                        
JavaScript
  node               7.7.3        /usr/local/bin/node  
  npm                4.1.2        /usr/local/bin/npm   
  yarn               -            null                 
React Native
  react-native-cli   2.0.1       
Ignite
  ignite             2.0.0-beta.6   /usr/local/bin/ignite  
Android
  java               1.8.0_60     /usr/bin/java                            
  android home       -            /Users/israelmacpro/Library/Android/sdk  
iOS
  xcode              8.2.1    


Please help. thx.
bug critical pending

Most helpful comment

after I run react-native upgrade problem solved

All 13 comments

Hey @israelws, when are you getting this error? Can you give more context from your terminal?

Here is the terminal output:

🔥 igniting app PizzaApp
✔ using the Infinite Red boilerplate
✔ added React Native 0.42.0
an error occured while installing ignite-ir-boilerplate-2016 boilerplate.
Error: ENOENT: no such file or directory, uv_chdir

What happens when you type react-native init PizzaApp2? does it work?

Yes
I tried react-native init and it is working for me

I have the same problem

I also have the same problem.

System
  platform           darwin
  arch               x64
  cpu                8 cores                                       Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  directory          /Users/nonameolsson/Development/ReactNative

JavaScript
  node               7.6.0        /Users/nonameolsson/.nvm/versions/node/v7.6.0/bin/node
  npm                4.1.2        /Users/nonameolsson/.nvm/versions/node/v7.6.0/bin/npm
  yarn               0.21.3       /usr/local/bin/yarn

React Native
  react-native-cli   0.1.10

Ignite
  ignite             2.0.0-beta.6   /Users/nonameolsson/.nvm/versions/node/v7.6.0/bin/ignite

Android
  java               1.8.0_112    /usr/bin/java
  android home       -            /usr/local/opt/android-sdk

iOS
  xcode              8.2.1

@israelws @wjnxiang Does this solve your problem? If so, we'll close this issue.

yesss, it is working correctly. Thank You :)

If anyone facing this issue, try running npm uninstall -g react-native and then run npm install -g react-native-cli

after I run react-native upgrade problem solved

If anyone facing this issue, try running npm uninstall -g react-native and then run npm install -g react-native-cli

Perfect Solution! I searched 3 days for this issue but can't find a solution. Finally I remove react-native and install react-native-cli. It worked. Thank you!

You also don't need to install react-native-cli anymore to work with Ignite, as we now use react-native binary with npx.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GantMan picture GantMan  Â·  3Comments

tayfunyasar picture tayfunyasar  Â·  3Comments

besingamkb picture besingamkb  Â·  3Comments

lichao0817 picture lichao0817  Â·  3Comments

whalemare picture whalemare  Â·  3Comments