anand248
Explore posts from serversVite plugin does not compile the commonjs module
module is not defined
at eval (/Users/sutikshandubey/invoice001/web-360/node_modules/@babel/runtime/helpers/typeof.js:12:1)
at instantiateModule (file:///Users/sutikshandubey/invoice001/web-360/node_modules/vite/dist/node/chunks/dep-Cyk9bIUq.js:52961:11
Click outside, press Esc key, or fix the code to dismiss.
You can also disable this overlay by setting server.hmr.overlay to false in vite.config.ts.
3 replies
CDCloudflare Developers
•Created by ENSainETY on 10/11/2024 in #workers-help
Save Files Generated in Pages App
after writing the file to bucket I generated a url and saved it in my DB
That URL endpoint points to my own hono endpoint GET request, which downlods the file from R2, and returns to browser, Some indicative code
And GET endpoint code where the above url points to
2 replies
CDCloudflare Developers
•Created by anand248 on 10/12/2024 in #workers-help
I am trying to add a new binding for R2 after deploying my application on cloudflare in wrangler.tom
Found the solution, logs helped me
- "env.production" environment configuration
- "r2_buckets" exists at the top level, but not on
"env.production".
This is not what you probably want, since "r2_buckets" is
not inherited by environments.
Please add "r2_buckets" to "env.production".
2 replies