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
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.
The text was updated successfully, but these errors were encountered:
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.
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
.The text was updated successfully, but these errors were encountered: