<Alterion.Dev>
Explore posts from serversCDCloudflare Developers
•Created by <Alterion.Dev> on 5/28/2024 in #pages-help
npm create cloudflare: "no such file or directory lstat"
When attempting to create a new project using
npm create cloudflare@latest
, I get the following error after choosing the options I wanted:
Not quite sure what to do from here... I recall being able to create a cloudflare project with react, like, last week, but now this is broken.25 replies
CDCloudflare Developers
•Created by <Alterion.Dev> on 1/1/2024 in #workers-help
Is there any way to allow for eval() on a worker?
I understand that there are serious security issues with using eval() as a general rule. My problem is that I'm using a library called
serialize-javascript
to be able to stringify structures beyond what JSON.stringify(). Specifically, serialize-javascript allows for serializing dates, maps, sets, functions, regex and bigint. However, it doesn't provide any deserialize method, and simple states to use eval(). Which works perfectly well and has for years... but trying to port my db wrapper to a worker-supported version has cause me a fair share of grief.
I would rather not remove functionality from my module due to this limitation, though I do understand that the distinction is that the context of running in a worker means we're not only dependendent on the user's system and security, but yours.8 replies
CDCloudflare Developers
•Created by <Alterion.Dev> on 5/15/2023 in #general-help
Pointing domain from cloudflare to shopify?
I'm trying to prepare for a move to our domain temporarily to shopify - this is temporary because I need more time to prepare a better shop integration, but for now, a simple shopify front will have to do. I was looking into whether it would be simple to configure the DNS settings to point to it - and my research lead me to this page : https://developers.cloudflare.com/support/third-party-software/e-commerce/using-cloudflare-with-shopify/#using-cloudflare-with-shopify
Can anyone confirm what this page seem to be implying, that I'd need to pay for Enterprise-level cloudflare (which presumably is higher than the $200/month business plan!!!) just to use shopify through the cloudflare dns? Or does actually pointing the CNAME only as any other service would work correctly?
6 replies