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.

npx create-react-app my-app node:internal/bootstrap/switches/does_own_process_state:126 cachedCwd = rawMethods.cwd(); ^

Error: ENOENT: no such file or directory, uv_cwd at process.wrappedCwd (node:internal/bootstrap/switches/does_own_process_state:126:28) at process.cwd (/usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:10:19) at new Config (/usr/lib/node_modules/npm/node_modules/@npmcli/config/lib/index.js:92:19) at new <anonymous> (/usr/lib/node_modules/npm/lib/npm.js:83:19) at Object.<anonymous> (/usr/lib/node_modules/npm/lib/npm.js:71:30) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions…js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) { errno: -2, code: ‘ENOENT’, syscall: ‘uv_cwd’ }`

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
Tejas-Tejucommented, Nov 22, 2021

Hi @chunaj17, It is not able to find the file/directory. Just try closing your code editor window and open it again and then try running the command in terminal. Let us know how it goes.

1reaction
kerryraychellecommented, Sep 2, 2022

On Fri, 2 Sep 2022 at 7:32 PM, Ayub Njambuya @.***> wrote:

I was running a similar error when running npx create-react-app ./ . I noticed that the directory I initially created the app in was limited to space/limited privileges. So I made the app using npx create-react-app ./ with a folder with much space and more rights.

— Reply to this email directly, view it on GitHub https://github.com/facebook/create-react-app/issues/11616#issuecomment-1235698863, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUPLELZDXARGXJIRROBRSJDV4IT27ANCNFSM5HKXKFGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

So the problem might be the space?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Critical Error Your Start Menu Isn't Working ...
Fix 1: Enter Safe Mode and Restart Computer​​ Step 2: Keep holding the Shift button on your keyboard and click the Power button,...
Read more >
What Is the Start Menu Critical Error and How Do You Fix It?
The Start menu critical error is a serious Windows issue that forces the Start menu to stop and become unresponsive. When this error...
Read more >
How to Fix Windows 10 Start Menu Critical Error - EaseUS
Fix 1. Install the Recent Windows 10 Update · Fix 2. Download the Start Menu Troubleshooter · Fix 3. Boot Into Safe Mode...
Read more >
Critical Error Start Menu Isn't Working [Solved] - TechLoris
The Windows 10 Critical Error is related to the Start menu not working. It happens when some files become corrupted.
Read more >
How To Fix "Critical Error Your Start Menu Isn't Working"
Critical Error: Your Start Menu Isn't Working · Re-install Your Start Menu · Restart Windows Explorer · Run the System File Checker ·...
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