nat20sFruitBat07Dad
nat20sFruitBat07Dad
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 3/28/2024 in #pages-help
Deployment to PRODUCTION fails - tsc not found
Hello, I have a very simple web application and using GitHub integration I deploy the code to our preview environment with no issues (NODE_ENV = development). However when I deploy to PROD (NODE_ENV = production) I get an error message during the build process as shown below. 16:30:15.623 Executing user command: bash build.sh 16:30:15.630 Executing WhichBnBN custom buid script 16:30:15.630 Build environment is PRODUCTION 16:30:16.199
16:30:16.199 > [email protected] build-prod 16:30:16.199 > tsc && vite build --mode production 16:30:16.199
16:30:16.211 sh: 1: tsc: not found 16:30:16.224 Failed: Error while executing user command. Exited with error code: 127 16:30:16.240 Failed: build command exited with code: 1 16:30:18.465 Failed: error occurred while running build command Anyone have any ideas why it works for dev and not for prod?
13 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 9/15/2023 in #workers-help
Prefixes for files on R2
I understand that R2 is object storage and therefore the concept of "folders" is not a natural one for R2. However, I do see a checkboxes in the UI that says "View prefixes as directories". Does anyone know which prefix I can use? I have tried "folder.myfile.csv" and "folder/myfile.csv" but neither create the logical folder I am looking for. Any ideas?
10 replies
CDCloudflare Developers
Created by nat20sFruitBat07Dad on 9/7/2023 in #workers-help
wrangler.toml r2_buckets binding
No description
3 replies