nat20sFruitBat07Dad
nat20sFruitBat07Dad
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 3/28/2024 in #pages-help
Deployment to PRODUCTION fails - tsc not found
You are a genius :-). Worked beautifully. thank you for your insight and for taking the time to answer my Noob question.
13 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 3/28/2024 in #pages-help
Deployment to PRODUCTION fails - tsc not found
Now let me try the PROD build (which has not yet worked once)
13 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 3/28/2024 in #pages-help
Deployment to PRODUCTION fails - tsc not found
OK after making that change the deployment to DEV (still) works. So thats good.
13 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 3/28/2024 in #pages-help
Deployment to PRODUCTION fails - tsc not found
I dont see how that will change anything but I am definitely new to pipeline builds. Let me try and update back. Thank you for your suggestion.
13 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 3/28/2024 in #pages-help
Deployment to PRODUCTION fails - tsc not found
Let me make sure I understand. You are saying that I should remove the NODE_ENV variable from my Environment Variables? and then update my build script to set the environment variable NODE_ENV?
13 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 3/28/2024 in #pages-help
Deployment to PRODUCTION fails - tsc not found
That makes a lot of sense. I guess a follow up question is should I just copy all my devDependencies into my "dependencies" and see what happens Or is there a way of getting a list of dependencies needed for production?
13 replies
CDCloudflare Developers
Created by mdierker on 9/7/2023 in #pages-help
Can't deploy a TypeScript app: tsc not found
I think there is something else going on here. Are you saying that yarn is the only option?
7 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 9/15/2023 in #workers-help
Prefixes for files on R2
OK you were right. That did the truck. Creating the folder on my mac and then uploading the folder itself did the trick. Thank you.
10 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 9/15/2023 in #workers-help
Prefixes for files on R2
Wait let me try what you mentioned earlier about creating the folders etc.
10 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 9/15/2023 in #workers-help
Prefixes for files on R2
I am uploading from a Mac
10 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 9/15/2023 in #workers-help
Prefixes for files on R2
No description
10 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 9/15/2023 in #workers-help
Prefixes for files on R2
OK that makes sense. Let me clone some file to see if the "/" works when there are multiple files...
10 replies
CDCloudflare Developers
Created by conhlee on 8/12/2023 in #workers-help
How am I supposed to access secrets??
Never mind. I figured it out. For others who may experience this issue please do as follows: 1. Use wrangler secrets put to write the secret to the Worker 2. create a .dev.vars file in the root of your PROJECT and put your secrets in there 2a. Make sure you do NOT check in the .dev.vars file into your git. Its just for local development 3. Add the variable to your CF Worker environment so you can reference it in your code 4. And this is what got me... Restart your project (npm run start)
5 replies
CDCloudflare Developers
Created by conhlee on 8/12/2023 in #workers-help
How am I supposed to access secrets??
Do we need to explicity bind them in the URL? I have tried both binding and NOT binding and either way the DATBASE_URL value I specified in my .dev.vars does not come through.
5 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 9/7/2023 in #workers-help
wrangler.toml r2_buckets binding
Yep that worked. Thank you
3 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 9/7/2023 in #workers-help
wrangler.toml r2_buckets binding
Wow thats crazy. Let me try your suggestion
3 replies