Workers Error 1101 from example project | Cannot read properties of undefined (reading 'fetch')
Since yesterday I am unable to test my worker applications with
npx wrangler dev
. They start up just fine however I then always get this error: https://hastebin.de/zekujojino.csharp
This error occurs on my projects but also on the default / example repo.
For me I can recreate this error every time by pulling the example repo via: npm init cloudflare cloudflare_test worker-rust
then changing the build command from command = "cargo install -q worker-build --version 0.0.7 && worker-build --release"
to command = "cargo install -q worker-build --version 0.0.8 && worker-build --release"
(Noticed the updated version because on Windows 0.0.7 is broken. See here: https://github.com/cloudflare/templates/pull/152)
And then just trying to start up the example project without any changes: npx wrangler dev
OS: Windows 10
Wrangler: 2.9.00 Replies