Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error uploading theme to Cloudflare #4

Closed
xJoyLu opened this issue Oct 12, 2024 · 1 comment
Closed

Error uploading theme to Cloudflare #4

xJoyLu opened this issue Oct 12, 2024 · 1 comment

Comments

@xJoyLu
Copy link

xJoyLu commented Oct 12, 2024

Really like the noir style theme!

Can't wait to replace the original theme project, but deploying to cloudflare prompts an error!

Error message log:

2024-10-12T15:46:08.515699Z Cloning repository... 2024-10-12T15:46:09.359115Z From https://github.com/xJoyLu/zhh.cc 2024-10-12T15:46:09.359622Z * branch e29d6d441c90acfeef9967097b47fa17130fa345 -> FETCH_HEAD 2024-10-12T15:46:09.359723Z 2024-10-12T15:46:09.394146Z HEAD is now at e29d6d4 更新版本号 2024-10-12T15:46:09.394544Z 2024-10-12T15:46:09.477073Z 2024-10-12T15:46:09.477564Z Using v2 root directory strategy 2024-10-12T15:46:09.500981Z Success: Finished cloning repository files 2024-10-12T15:46:11.068132Z Checking for configuration in a wrangler.toml configuration file (BETA) 2024-10-12T15:46:11.068744Z 2024-10-12T15:46:11.172496Z No wrangler.toml file found. Continuing. 2024-10-12T15:46:11.314663Z Detected the following tools from environment: [email protected], [email protected], [email protected] 2024-10-12T15:46:11.315404Z Installing project dependencies: bun install --frozen-lockfile 2024-10-12T15:46:11.546495Z bun install v1.0.1 (31aec4eb) 2024-10-12T15:46:11.547663Z error: lockfile had changes, but lockfile is frozen 2024-10-12T15:46:11.551285Z Error: Exit with error code: 1 2024-10-12T15:46:11.551457Z at ChildProcess.<anonymous> (/snapshot/dist/run-build.js) 2024-10-12T15:46:11.551666Z at Object.onceWrapper (node:events:652:26) 2024-10-12T15:46:11.551846Z at ChildProcess.emit (node:events:537:28) 2024-10-12T15:46:11.551985Z at ChildProcess._handle.onexit (node:internal/child_process:291:12) 2024-10-12T15:46:11.558572Z Failed: build command exited with code: 1 2024-10-12T15:46:12.453918Z Failed: error occurred while running build command

I am using the latest version of Astro as of 4.6.2.

@louisescher
Copy link
Owner

louisescher commented Nov 24, 2024

Hi, this got past me somehow, sorry for the late response!
What you're looking at is not a cloudflare-specific issue, it's because the lockfile is frozen. This basically means that you can always exactly reproduce the dependencies of a specific project. What I recommend is running bun install without the --frozen-lockfile argument.

@louisescher louisescher closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants