Update `esbuild` to latest version (wrangler dev does not work on Android)
See original GitHub issueWhat version of Wrangler
are you using?
2.0.27
What operating system are you using?
Android
Describe the Bug
UPDATE: this is actually an esbuild bug: https://github.com/evanw/esbuild/issues/2640. Therefore, we can probably fix this either by not using esbuild’s watch feature or by fixing the bug in esbuild itself.
I realize I may be a freak for developing on Android, but alas I do and I’m unable to perform the quick Workers example on the readme.
The npx wrangler dev index.js
command does run “successfully”, but it spam reloads and the server is inaccessible.
Pretty much the same result whether or not I pass --local
. A basic Express server runs fine on this device so I don’t think there’s anything wrong with my environment.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
watch rebuilds code constantly (Android) · Issue #2640 - GitHub
On Android (aarch64, kernel 5.4.147), if I run esbuild --bundle index.js ... Update esbuild to latest version (wrangler dev does not work on ......
Read more >Install/Update Wrangler · Cloudflare Workers docs
This is an installation guide for the new version of Wrangler. If you previously had Wrangler 1 installed or were working on a...
Read more >esbuild global is not defined - You.com | The Search Engine You ...
Open side panel. evanw/esbuildUncaught ReferenceError: global is not defined#73 ... And then ran npm install followed by wrangler dev . A server was ......
Read more >In Cloud Computing This Week [Sep 2nd 2022] - Hava.io
A round-up of everything happening in the cloud computing space this week Friday September 2nd 2022 from Hava and the world of AWS,...
Read more >Scoop buckets by Github score
A searchable directory of buckets for the scoop package manager for Windows.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah okay sorry for the spam. I was able to reproduce this with just esbuild:
esbuild --bundle --watch index.js
.I opened an issue on esbuild itself: https://github.com/evanw/esbuild/issues/2640 - once that’s fixed, all we need to do is update the esbuild dependency in Wrangler.
This problem seems to still exist in the latest release (2.4.4)