AGill
AGill
Explore posts from servers
NNuxt
Created by BiffBaffBoff on 9/6/2024 in #❓・help
Cloudflare pages preset
I was able to deploy sharp -- see issues comment: https://github.com/lovell/sharp/issues/4113#issuecomment-2560374164 But now I'm getting some runtime errors so I need to figure that out:
Could not load the \"sharp\" module using the linuxnull-undefined runtime\nundefined: Could not dynamically require \"../src/build/Release/sharp-linuxnull-undefined.node\". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.\nundefined: Could not dynamically require \"../src/build/Release/sharp-wasm32.node\". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.\nundefined: Could not dynamically require \"@img/sharp-linuxnull-undefined/sharp.node\". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.\nundefined: Could not dynamically require \"@img/sharp-wasm32/sharp.node\". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.\nPossible solutions:\n- Manually install libvips >= 8.15.3\n- Add experimental WebAssembly-based dependencies:\n npm install --cpu=wasm32 sharp\n npm install @img/sharp-wasm32\n- Consult the installation documentation:\n See https://sharp.pixelplumbing.com/install\n"
Could not load the \"sharp\" module using the linuxnull-undefined runtime\nundefined: Could not dynamically require \"../src/build/Release/sharp-linuxnull-undefined.node\". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.\nundefined: Could not dynamically require \"../src/build/Release/sharp-wasm32.node\". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.\nundefined: Could not dynamically require \"@img/sharp-linuxnull-undefined/sharp.node\". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.\nundefined: Could not dynamically require \"@img/sharp-wasm32/sharp.node\". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.\nPossible solutions:\n- Manually install libvips >= 8.15.3\n- Add experimental WebAssembly-based dependencies:\n npm install --cpu=wasm32 sharp\n npm install @img/sharp-wasm32\n- Consult the installation documentation:\n See https://sharp.pixelplumbing.com/install\n"
2 replies
CDCloudflare Developers
Created by Alsososcar on 11/28/2024 in #workers-help
Process data, then upload to Neon without going to page?
3 replies
CDCloudflare Developers
Created by Alsososcar on 11/28/2024 in #workers-help
Process data, then upload to Neon without going to page?
should be feasible with workers yes
3 replies
CDCloudflare Developers
Created by Josh on 10/7/2024 in #pages-help
Running with a newer version of Node - env var not being passed through?
I'm having the same issue: https://discord.com/channels/595317990191398933/1291619831870656584 And also https://discord.com/channels/595317990191398933/1288937653537869979 By recreate deployment, do you mean deleting the pages project entirely? and recreating? Because I've also tried re-deploying within the same project to no avail.
4 replies
CDCloudflare Developers
Created by Lune on 10/4/2024 in #workers-help
Puppeeter with cloudflare workers
The cloudflare browser rendering API is the infra (AKA Binding) that runs the puppeteer instance for you. And the @cloudflare/puppeteer package is what you install in your app to use the binding.
4 replies
CDCloudflare Developers
Created by AGill on 10/4/2024 in #pages-help
[Nuxt] Unable to load env vars when nodejs_compat flag enabled
4 replies
CDCloudflare Developers
Created by AGill on 10/4/2024 in #pages-help
[Nuxt] Unable to load env vars when nodejs_compat flag enabled
I see thanks for sharing. Unfortunately I'm stuck waiting because I need nodejs_compat_v2 (or nodejs_compat + compatibility_date > 2024-09-23) since I want to use the Browser rendering API.
4 replies
CDCloudflare Developers
Created by AGill on 9/24/2024 in #general-help
Just Purchased Workers Paid Plan but dashboard shows free plan still
No description
5 replies
CDCloudflare Developers
Created by AGill on 9/24/2024 in #general-help
Just Purchased Workers Paid Plan but dashboard shows free plan still
I opened a support case so I will wait on a response from there.
5 replies
CDCloudflare Developers
Created by AGill on 9/24/2024 in #general-help
Just Purchased Workers Paid Plan but dashboard shows free plan still
hm I see there is an on going incident: https://www.cloudflarestatus.com/incidents/40wylr6fxlky
5 replies
CDCloudflare Developers
Created by AGill on 6/23/2024 in #r2
Hey guys I'm `PUT`ing into my R2 bucket
ok figured it out I was importing types from @cloudflare/workers-types path; I have to import from @cloudflare/workers-types/experimental
5 replies
CDCloudflare Developers
Created by AGill on 6/23/2024 in #r2
Hey guys I'm `PUT`ing into my R2 bucket
I'm using @cloudflare/workers-types version 4.20240512.0
5 replies
CDCloudflare Developers
Created by AGill on 6/23/2024 in #r2
Hey guys I'm `PUT`ing into my R2 bucket
No description
5 replies
CDCloudflare Developers
Created by AGill on 6/23/2024 in #r2
Hey guys I'm `PUT`ing into my R2 bucket
actually nvm the default is ['httpMetadata', 'customMetadata'] and I am getting back the fields. The problem is that customMetadata is returning null and so my worker function defaults to empty object
5 replies
CDCloudflare Developers
Created by AGill on 6/23/2024 in #r2
Hey guys I'm `PUT`ing into my R2 bucket
hm ok I see in docs that there is include option for R2ListOptions: https://developers.cloudflare.com/r2/api/workers/workers-api-reference/#r2listoptions
5 replies