Open Horadrim opened 8 hours ago
Hmm, I cannot seem to reproduce. I'm on mac, using chrome, deleted all my srcbook files (so, clean slate) and then ran:
npm i -g srcbook
srcbook start
This installed and booted srcbook@0.0.6
.
I created a srcbook, entered a title, no crash. Then I tried writing code (without installing deps), no crash.
Steps to reproduce:
Console output:
` Srcbook
Serving static files (React app)... Creating WebSocket server... Initialization complete srcbook@0.0.6 running at http://localhost:2150 node:events:497 throw er; // Unhandled 'error' event ^
Error: spawn npx ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) Emitted 'error' event on ChildProcess instance at: at ChildProcess._handle.onexit (node:internal/child_process:292:12) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -4058, code: 'ENOENT', syscall: 'spawn npx', path: 'npx', spawnargs: [ 'tsserver' ] }
Node.js v20.16.0 `