m
m
CDCloudflare Developers
Created by m on 3/1/2024 in #workers-help
Understanding DO Pricing
No description
6 replies
CDCloudflare Developers
Created by m on 2/17/2023 in #pages-help
Error when hosted on pages but not on local
okay... if I have minify/rocketloader off, cf shouldn't touch any of my code right? so why is it that the same exact code hosted on pages vs locally (via wrangler pages dev produces very weird bugs? 😩 https://t89.s3-us-west-1.amazonaws.com/2023/02/FFZG3c7N/unknown.mp4 i have no idea what is causing this and it seems the only difference is cloudflare (cf version goes unstyled for a sec, throws some ssr errors)
$ curl -sL https://b823e205.blahaj-app.pages.dev/build/_shared/chunk-6PM3H3BH.js | sha1sum
e9c75f39a61321d6ce63e4449c0849330cf4fc7f -
$ curl -sL https://406c-72-109-113-150.ngrok.io/build/_shared/chunk-6PM3H3BH.js | sha1sum
e9c75f39a61321d6ce63e4449c0849330cf4fc7f -
$ curl -sL https://406c-72-109-113-150.ngrok.io/build/entry.client-U75CJAHD.js | sha1sum
017dccc8d8ae194863ff1af0ea66b8d748da65bb -
$ curl -sL https://b823e205.blahaj-app.pages.dev/build/entry.client-U75CJAHD.js | sha1sum
017dccc8d8ae194863ff1af0ea66b8d748da65bb -
$ curl -sL https://b823e205.blahaj-app.pages.dev/build/_shared/chunk-6PM3H3BH.js | sha1sum
e9c75f39a61321d6ce63e4449c0849330cf4fc7f -
$ curl -sL https://406c-72-109-113-150.ngrok.io/build/_shared/chunk-6PM3H3BH.js | sha1sum
e9c75f39a61321d6ce63e4449c0849330cf4fc7f -
$ curl -sL https://406c-72-109-113-150.ngrok.io/build/entry.client-U75CJAHD.js | sha1sum
017dccc8d8ae194863ff1af0ea66b8d748da65bb -
$ curl -sL https://b823e205.blahaj-app.pages.dev/build/entry.client-U75CJAHD.js | sha1sum
017dccc8d8ae194863ff1af0ea66b8d748da65bb -
wtf?! i can reproduce it on my phone too, so it isn't a browser thing
46 replies
CDCloudflare Developers
Created by m on 2/16/2023 in #pages-help
Deploying project w/ pnpm workspace monorepo
I have a project in a monorepo that uses pnpm workspaces. I'm trying to deploy it to CF pages right now, but it seems that during the build it tries to do something with the packages which causes it to fail. Is there any workaround/planned fix for this?
19:00:57.108 Started restoring cached node modules
19:00:57.126 Finished restoring cached node modules
19:00:57.616 Installing NPM modules using NPM version 8.1.0
19:00:58.544 npm ERR! code EUNSUPPORTEDPROTOCOL
19:00:58.546 npm ERR! Unsupported URL Type "workspace:": workspace:*
19:00:58.562
19:00:58.563 npm ERR! A complete log of this run can be found in:
19:00:58.563 npm ERR! /opt/buildhome/.npm/_logs/2023-02-16T03_00_58_547Z-debug.log
19:00:58.568 Error during NPM install
19:00:58.572 Failed: build command exited with code: 1
19:00:59.581 Failed: an internal error occurred
19:00:57.108 Started restoring cached node modules
19:00:57.126 Finished restoring cached node modules
19:00:57.616 Installing NPM modules using NPM version 8.1.0
19:00:58.544 npm ERR! code EUNSUPPORTEDPROTOCOL
19:00:58.546 npm ERR! Unsupported URL Type "workspace:": workspace:*
19:00:58.562
19:00:58.563 npm ERR! A complete log of this run can be found in:
19:00:58.563 npm ERR! /opt/buildhome/.npm/_logs/2023-02-16T03_00_58_547Z-debug.log
19:00:58.568 Error during NPM install
19:00:58.572 Failed: build command exited with code: 1
19:00:59.581 Failed: an internal error occurred
7 replies