You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've tried deploying a scaffolded application to Cloudflare pages and got this error:
14:31:03.100 | From https://github.com/SergiiMost/analog-cloudflare-debug
14:31:03.100 | * branch 6ee2b43ff12fbf3fee74247c7bce67d171dff0f8 -> FETCH_HEAD
14:31:03.100 |
14:31:03.128 | HEAD is now at 6ee2b43 initial commit
14:31:03.128 |
14:31:03.235 |
14:31:03.236 | Using v2 root directory strategy
14:31:03.264 | Success: Finished cloning repository files
14:31:07.241 | Checking for configuration in a Wrangler configuration file (BETA)
14:31:07.242 |
14:31:08.342 | No wrangler.toml file found. Continuing.
14:31:08.974 | Detected the following tools from environment: [email protected], [email protected]
14:31:08.975 | Installing project dependencies: npm install --progress=false
14:32:03.812 | npm warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead
14:32:03.820 | npm warn deprecated [email protected]: Use your platform's native DOMException instead
14:32:08.844 |
14:32:08.844 | added 803 packages, and audited 805 packages in 58s
14:32:08.844 |
14:32:08.844 | 160 packages are looking for funding
14:32:08.844 | run
npm fundfor details14:32:08.845 |
14:32:08.845 | found 0 vulnerabilities
14:32:08.875 | Executing user command: npm run build
14:32:09.320 |
14:32:09.321 | > [email protected] build
14:32:09.321 | > vite build
14:32:09.321 |
14:32:11.768 | vite v7.1.9 building for production...
14:32:13.512 | transforming...
14:32:17.329 | ✓ 312 modules transformed.
14:32:17.487 | rendering chunks...
14:32:17.636 | computing gzip size...
14:32:17.693 | dist/client/index.html 0.49 kB │ gzip: 0.31 kB
14:32:17.693 | dist/client/assets/index-tn0RQdqM.css 0.00 kB │ gzip: 0.02 kB
14:32:17.693 | dist/client/assets/index.page-C7KOdLFI.js 1.06 kB │ gzip: 0.59 kB
14:32:17.694 | dist/client/assets/analogjs-content-DRq9Ykh0.js 101.52 kB │ gzip: 34.51 kB
14:32:17.694 | dist/client/assets/index-CmKZ8QrK.js 324.53 kB │ gzip: 101.55 kB
14:32:17.694 | ✓ built in 5.90s
14:32:17.873 |
14:32:17.873 |
14:32:17.873 | The '@analogjs/platform' server has been successfully built.
14:32:18.045 | Finished
14:32:19.104 | Checking for configuration in a Wrangler configuration file (BETA)
14:32:19.104 |
14:32:20.217 | No wrangler.toml file found. Continuing.
14:32:20.218 | Found _worker.js in output directory. Uploading.
14:32:20.223 | ⛅️ wrangler 3.101.0
14:32:20.223 | -------------------
14:32:21.229 | ✘ [ERROR] Build failed with 1 error:
14:32:21.230 |
14:32:21.230 | ✘ [ERROR] Could not resolve "/opt/buildhome/repo/dist/analog/public/_worker.js/index.js"
14:32:21.230 |
14:32:21.230 |
14:32:21.230 |
14:32:21.231 |
14:32:21.233 |
14:32:21.235 | ✘ [ERROR] Build failed with 1 error:
14:32:21.235 |
14:32:21.235 | ✘ [ERROR] Could not resolve "/opt/buildhome/repo/dist/analog/public/_worker.js/index.js"
14:32:21.235 |
I feel like something has changed on the Cloudflare side. Any suggestions? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions