elnardu / react-use-c

Use C in your React!
549 stars 16 forks source link

Got error when fetch the data #2

Closed VincentAlfa closed 1 year ago

VincentAlfa commented 1 year ago

first in the browser console i got failed to fetch error and the in the terminal i got this error

node:events:495 throw er; // Unhandled 'error' event ^

Error: spawn node_modules/@oven/zig/zig ENOENT at ChildProcess._handle.onexit (node:internal/child_process:284:19) at onErrorNT (node:internal/child_process:477: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:290:12) at onErrorNT (node:internal/child_process:477:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

elnardu commented 1 year ago

os? node version? have you done npm install?

VincentAlfa commented 1 year ago

windows, node 20. isn't that working on windows?

elnardu commented 1 year ago

please use wsl

VincentAlfa commented 1 year ago

Right, okay

elnardu commented 1 year ago

thank you for understanding