An itty-router-openapi app stopped working with TypeError: o3.replace is not a function
After a week of developing a small REST API which was working beautifully, suddenly this error just appeared. Going back to previous verisons of my code doesn't work, neither does reverting to previous wrangler versions, deleting node_modules and reinstalling, restarting machine ... any idea how to proceed?
7 Replies
Additionally, creating the OpenAPI example using
npm create cloudflare@latest
fails with the same error.
This all started happening after upgrading to wrangler 3.22.4 from 3.22.2 but I cannot seem to revert to a working setupSame issue. Our production is breaking
I filed a bug at: https://github.com/cloudflare/workers-sdk/issues/4732
GitHub
🐛 BUG: An itty-router-openapi app stopped working with TypeError: o...
Which Cloudflare product(s) does this pertain to? Uncertain What version(s) of the tool(s) are you using? Wrangler 3.22.4 What version of Node are you using? v20.10.0 What operating system are you ...
@RhutikG I’m wondering if it’s worth filing a bug with itty-router-openapi too
hi @WillTolmie
GitHub
TypeError: o3.replace is Not a Function - Project Not Running · Iss...
Description: I have been working on a project using itty-router-openapi, following the guide provided in the official documentation. The project was functioning correctly until recently. However, a...