ernest
ernest
CDCloudflare Developers
Created by ernest on 4/9/2024 in #workers-help
Error when trying to do a wrangler publish with environment
This was working 10 hours earlier with no code change, and suddenly today I am not able to publish my app. ✘ [ERROR] A request to the Cloudflare API (/accounts/xxxxxxxxxxxxxxxx/workers/scripts/api-router-dev) failed. workers.api.error.internal_server [code: 10002]
2 replies
CDCloudflare Developers
Created by ernest on 11/6/2023 in #pages-help
Yarn 4.0.0 seems to not be working on building
Not sure what has changed over the past few days but my builds are failing citing Yarn issues. This was the build output 4 days ago:
12:23:53.043 Detected the following tools from environment: [email protected], [email protected], [email protected]
12:23:53.467 Preparing [email protected] for immediate activation...
12:23:54.333 Installing project dependencies: yarn
12:23:55.444 ➤ YN0000: · Yarn 4.0.0
12:23:55.467 ➤ YN0000: ┌ Resolution step
12:23:55.694 ➤ YN0000: └ Completed in 0s 227ms
12:23:55.729 ➤ YN0000: ┌ Fetch step
12:24:03.050 ➤ YN0013: │ 570 packages were added to the project (+ 420.98 MiB).
12:24:03.050 ➤ YN0000: └ Completed in 7s 321ms
12:24:03.082 ➤ YN0000: ┌ Link step
// Stuff that isn't important
12:24:19.197 ➤ YN0000: └ Completed in 16s 115ms
12:24:19.284 ➤ YN0000: · Done in 23s 841ms
12:23:53.043 Detected the following tools from environment: [email protected], [email protected], [email protected]
12:23:53.467 Preparing [email protected] for immediate activation...
12:23:54.333 Installing project dependencies: yarn
12:23:55.444 ➤ YN0000: · Yarn 4.0.0
12:23:55.467 ➤ YN0000: ┌ Resolution step
12:23:55.694 ➤ YN0000: └ Completed in 0s 227ms
12:23:55.729 ➤ YN0000: ┌ Fetch step
12:24:03.050 ➤ YN0013: │ 570 packages were added to the project (+ 420.98 MiB).
12:24:03.050 ➤ YN0000: └ Completed in 7s 321ms
12:24:03.082 ➤ YN0000: ┌ Link step
// Stuff that isn't important
12:24:19.197 ➤ YN0000: └ Completed in 16s 115ms
12:24:19.284 ➤ YN0000: · Done in 23s 841ms
Now when I build the same project it gives me the following error:
12:43:37.155 Detected the following tools from environment: [email protected], [email protected], [email protected]
12:43:37.558 Preparing [email protected] for immediate activation...
12:43:38.347 Installing project dependencies: yarn
12:43:38.990 Internal Error: ENOENT: no such file or directory, stat '/opt/buildhome/repo/.yarn/releases/yarn-4.0.0.cjs'
12:43:38.991 Error: ENOENT: no such file or directory, stat '/opt/buildhome/repo/.yarn/releases/yarn-4.0.0.cjs'
12:43:39.004 Error: Exit with error code: 1
12:43:39.004 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
12:43:39.005 at Object.onceWrapper (node:events:652:26)
12:43:39.005 at ChildProcess.emit (node:events:537:28)
12:43:39.005 at ChildProcess._handle.onexit (node:internal/child_process:291:12)
12:43:39.012 Failed: build command exited with code: 1
12:43:40.961 Failed: error occurred while running build command
12:43:37.155 Detected the following tools from environment: [email protected], [email protected], [email protected]
12:43:37.558 Preparing [email protected] for immediate activation...
12:43:38.347 Installing project dependencies: yarn
12:43:38.990 Internal Error: ENOENT: no such file or directory, stat '/opt/buildhome/repo/.yarn/releases/yarn-4.0.0.cjs'
12:43:38.991 Error: ENOENT: no such file or directory, stat '/opt/buildhome/repo/.yarn/releases/yarn-4.0.0.cjs'
12:43:39.004 Error: Exit with error code: 1
12:43:39.004 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
12:43:39.005 at Object.onceWrapper (node:events:652:26)
12:43:39.005 at ChildProcess.emit (node:events:537:28)
12:43:39.005 at ChildProcess._handle.onexit (node:internal/child_process:291:12)
12:43:39.012 Failed: build command exited with code: 1
12:43:40.961 Failed: error occurred while running build command
The only PR change was upgrading Vite to 4.5.0 from 4.4.10
2 replies