Failing build - not correctly installing yarn dependency from `packageManager` field.

22:41:37.925 Cloning repository... 22:41:38.622 From https://github.com/DocusaurusCommunity/website 22:41:38.622 * branch 1df77c3566004568f89232bd8edc92a00d8d3b3d -> FETCH_HEAD 22:41:38.622
22:41:38.667 HEAD is now at 1df77c3 Merge pull request #20 from DocusaurusCommunity/updateDocs 22:41:38.668
22:41:38.747
22:41:38.748 Using v2 root directory strategy 22:41:38.772 Success: Finished cloning repository files 22:41:40.301 Checking for configuration in a wrangler.toml configuration file (BETA) 22:41:40.301
22:41:40.383 No wrangler.toml file found. Continuing. 22:41:40.529 Detected the following tools from environment: [email protected], [email protected] 22:41:40.858 Preparing [email protected] for immediate activation... 22:41:41.637 Installing project dependencies: yarn 22:41:42.127 Internal Error: ENOENT: no such file or directory, stat '/opt/buildhome/repo/.yarn/releases/yarn-4.2.2.cjs' 22:41:42.128 Error: ENOENT: no such file or directory, stat '/opt/buildhome/repo/.yarn/releases/yarn-4.2.2.cjs' 22:41:42.139 Error: Exit with error code: 1 22:41:42.139 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js) 22:41:42.139 at Object.onceWrapper (node:events:652:26) 22:41:42.139 at ChildProcess.emit (node:events:537:28) 22:41:42.139 at ChildProcess._handle.onexit (node:internal/child_process:291:12) 22:41:42.149 Failed: build command exited with code: 1 22:41:43.007 Failed: error occurred while running build command
GitHub
GitHub - DocusaurusCommunity/website: Docusaurus.community - Collec...
Docusaurus.community - Collecting knowledge, tips and tricks for Docusaurus. - DocusaurusCommunity/website
1 Reply
homotechsual
homotechsualOP8mo ago
Sorted. Someone (possibly me!) fudged the GitIgnore and we had the installstate file committed.
Want results from more Discord servers?
Add your server