Closed spencercap closed 1 year ago
i haven't got this working, but noticing you are running npm run build, but this is a workers project and you must use wrangler publish right? I'm still new with it.
i haven't got this working, but noticing you are running npm run build, but this is a workers project and you must use wrangler publish right? I'm still new with it.
well wrangler uses webpack to build under the hook. wrangler also serves workers locally + deploys them etc.
in other news, i upgraded to node 15 and this template repo works fine 👍
I'm still working on this...haven't finished going through things (i'm merging things in with another project)...but just got things to compile. Make sure you have your account settings are set up with cloudflare, and also make sure you install: npm install webpack-cli
that was my issue that was halting my compile. Also I am using a much newer version of mac os and node v16.0, are you sure node 14 is compatible with wrangler
Is this being supported at all? This isn't working with Nuxt.
Hi everyone, apologies for the wait here. We've recently updated stripe-node so that polyfills are no longer needed for Cloudflare worker compatibility starting with v11.10.0. We've also updated this sample to reflect this and to use Wrangler 2 - please refer to the latest README for usage instructions.
If you are still encountering issues with this sample, please don't hesitate to open a new issue!
Bug report
Hi, I'm excited that Stripe is now supported natively in Cloudflare's runtime but after using this repo as a template as indicated in the readme, I cannot run the build script. webpack fails with the message below and then I cannot use
wrangler publish
orwrangler dev
. Please let me know what changes are needed - thanks!To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
wrangler generate projectname https://github.com/stripe-samples/stripe-node-cloudflare-worker-template
npm i
npm run build
Expected behavior
As readme says.
System information