question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

no such file or directory, uv_chdir

See original GitHub issue
vue-native init test
---------------------------------------------------------
Installed Crna Version create-react-native-app version: 2.0.2
Creating Vue-Native test App
[19:28:17] Input is required, but expo is in non-interactive mode.
Required input:
> Choose a template:
C:\Users\Username\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:140
  process.chdir(projectName);
          ^

Error: ENOENT: no such file or directory, uv_chdir
    at handleAndAddVueNativePackageDependencySync (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:140:11)
    at createVueNativeProject (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:101:3)
    at init (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:76:7)
    at Command.<anonymous> (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:59:7)
    at Command.listener (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\node_modules\commander\index.js:315:8)
    at emitTwo (events.js:126:13)
    at Command.emit (events.js:214:7)
    at Command.parseArgs (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\node_modules\commander\index.js:651:12)
    at Command.parse (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\node_modules\commander\index.js:474:21)
    at Object.<anonymous> (C:\Users\Mehdi\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:63:9)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
vickey999commented, Dec 18, 2018

I am also getting same issue

Choose a template: internal/process/main_thread_only.js:31 return _chdir(…args); ^

Error: ENOENT: no such file or directory, chdir ‘myapplication’ at process.chdir (internal/process/main_thread_only.js:31:12) at handleAndAddVueNativePackageDependencySync (C:\Users\Admin\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:140:11) at createVueNativeProject (C:\Users\Admin\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:101:3) at init (C:\Users\Admin\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:76:7) at Command.<anonymous> (C:\Users\Admin\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:59:7) at Command.listener (C:\Users\Admin\AppData\Roaming\npm\node_modules\vue-native-cli\node_modules\commander\index.js:315:8) at Command.emit (events.js:182:13) at Command.parseArgs (C:\Users\Admin\AppData\Roaming\npm\node_modules\vue-native-cli\node_modules\commander\index.js:651:12) at Command.parse (C:\Users\Admin\AppData\Roaming\npm\node_modules\vue-native-cli\node_modules\commander\index.js:474:21) at Object.<anonymous> (C:\Users\Admin\AppData\Roaming\npm\node_modules\vue-native-cli\src\index.js:63:9)

0reactions
lunkkuncommented, Aug 23, 2019

Still not working for me on Windows 10. Please reopen this issue.

Tested with: npm@6.11.2 expo-cli@3.0.10 vue-native-cli@0.1.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

c - chdir() - no such file or directory - Stack Overflow
Check your directory string like this: printf("directory = [%s]\n", directory); in case you have a stray linefeed or other unwanted/invisible characters in the ......
Read more >
Why do I get the error "chdir(...) failed: no such file or directory"?
chdir(...) failed: no such file or directoryYou are trying to execute a command remotely, where either your current working directory does ...
Read more >
chdir() : No such file or directory (errno 2) In Laravel - YouTube
chdir ():nosuchfileordirectory(errorno2)inlaravel #errorexception ... chdir () : No such file or directory (errno 2) In Laravel.
Read more >
Error : Could not chdir to home directory /root: No such file or ...
Reason : /root home directory does not exist or deleted by you or someone. ... Now, disconnect and reconnect. It should work fine....
Read more >
No such file or directory (errno 2) error - Laracasts
Moving files to other directory shows chdir(): No such file or directory (errno 2) error. I had a laravel app at /home/name/larasecond ....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found