react-scan icon indicating copy to clipboard operation
react-scan copied to clipboard

Error when installing

Open nerophase opened this issue 1 year ago • 5 comments

Getting the following error when installing. I'm using pnpm, Node.js v22.11.0 and Next.js v14.2.18.

┌ [·] React Scan │ ◇ No drivers found. Install Playwright Chromium driver to continue? │ Yes node:internal/child_process:285 const err = new ErrnoException(exitCode, syscall); ^

Error: spawn npx ENOENT at ChildProcess._handle.onexit (node:internal/child_process:285:19) at onErrorNT (node:internal/child_process:483:16) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -4058, code: 'ENOENT', syscall: 'spawn npx', path: 'npx', spawnargs: [ 'playwright@latest', 'install', 'chromium' ] }

nerophase avatar Nov 30 '24 20:11 nerophase

same here

tarcisioandrade avatar Dec 01 '24 02:12 tarcisioandrade

What chip @nerophase @tarcisioandrade?

magentera avatar Dec 02 '24 01:12 magentera

What chip @nerophase @tarcisioandrade?

My processor is an 11th Gen Intel(R) Core(TM) i3-1115G4. Is that what you mean?

nerophase avatar Dec 02 '24 01:12 nerophase

What chip @nerophase @tarcisioandrade?

CPU? AMD Ryzen 5 2400G

tarcisioandrade avatar Dec 02 '24 02:12 tarcisioandrade

Same issue here

princeeze avatar Dec 05 '24 12:12 princeeze

Run the command manually:

npx playwright@latest install chromium

Then rerun your react-scan command.

verdaderoken avatar Dec 10 '24 14:12 verdaderoken

Run the command manually:

npx playwright@latest install chromium

Then rerun your react-scan command.

fix, thanks

tarcisioandrade avatar Dec 11 '24 02:12 tarcisioandrade

Run the command manually:

npx playwright@latest install chromium

Then rerun your react-scan command.

It worked. Thanks!

nerophase avatar Dec 12 '24 17:12 nerophase