Oudwin
Oudwin
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Oudwin on 1/5/2025 in #questions
LF Video where Theo talks about using react query for ping
But to establish a connection with, for example, a microphone you need permission. So it may look like you can handle this with react query: navigator.mediaDevices.getUserMedia({ audio: true }) And you return from the react query the stream, and if it has loaded, etc. However, react query will retry things when they error which can cause issue so you would have to disable that. Then you have the media stream that comes out of react query and within react you have to pass that to whatever media stream handler you have. which is weird because I don't really want to deal with any of this within react, I want it as outside of react as possible. Idk it doesn't feel like it makes sense, maybe I'm just over thinking it
8 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
@Chaika It doesn't seem to work for me for some reason
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
What vercel does is they allow you to override the auto configuration
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
Yep!
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
XD
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
And, it fails anyway (not sure why I'll have to figure it out)
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
Or my build will fail
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
Well for me its an even bigger deal because the app I am deploying to cloudflare doesn't need access to a private npm but another app I am not deploying to cloudflare does..... Now I have to give access to the repo to cloudflare...
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
not sure if I am making sense @Wouter | PB
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
those are the logs and this is the build command I have:
pnpm --filter @frontend... run build
pnpm --filter @frontend... run build
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
13:26:14.439 Preparing [email protected] for immediate activation... 13:26:16.470 Installing project dependencies: pnpm install
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
pnpm will install all packages if you do that
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
how? it runs pnpm i on the top level directory
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
I already have the build command set up like you suggest
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
that is the command I want to change
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
It gets ran automatically by cloudflare pages
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
@Wouter | PB Hey thanks but I think I didn't explain myself very well. Yes I am doing that. But the issue is the pnpm i command
27 replies
CDCloudflare Developers
Created by Oudwin on 10/18/2024 in #pages-help
customize npm install command on cloudflare pages
It seems to run it automatically after cloning the repo...
27 replies