Open Nanome203 opened 1 month ago
(Maybe this helps someone.)
Im on a mac and got this.. and my problem was nodejs was messed up from a bad brew install.
I was getting env: node: No such file or directory
on node
Reinstalling node and specifically the last step via https://stackoverflow.com/a/48736639/982190 fixed me.
In Bun v1.1.36, bun --bun run start
now shows new error (not sure if previous one was fixed)
$ expo start
Starting project at D:\test
75 | });
76 | return records;
77 | }
78 | }
79 | function createTelemetryFetch() {
80 | const agent = new (_undici()).RetryAgent(new (_undici()).Agent(), {
^
TypeError: undefined is not a constructor (evaluating 'new (_undici()).RetryAgent(new (_undici()).Agent, {
maxRetries: 3,
retryAfter: !0,
minTimeout: 500,
maxTimeout: 2000,
timeoutFactor: 2
})')
at createTelemetryFetch (D:\test\node_modules\@expo\cli\build\src\utils\telemetry\clients\FetchClient.js:80:19)
at new FetchClient (D:\test\node_modules\@expo\cli\build\src\utils\telemetry\clients\FetchClient.js:28:26)
at createClientFromStrategy (D:\test\node_modules\@expo\cli\build\src\utils\telemetry\Telemetry.js:119:37)
at setStrategy (D:\test\node_modules\@expo\cli\build\src\utils\telemetry\Telemetry.js:53:24)
at recordCommand (D:\test\node_modules\@expo\cli\build\src\utils\telemetry\index.js:68:55)
at D:\test\node_modules\@expo\cli\build\bin\cli:256:9
Bun v1.1.36 (Windows x64)
error: script "start" exited with code 1
What version of Bun is running?
1.1.30+7996d06b8
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
What is the expected behavior?
Metro bundler should get started and i can run my app with expo go
What do you see instead?
Additional information
It works fine with Node.js, so i'm running expo app with Node.js for now Related issue: #13390