Usage Error: Unsupported package manager specification ([email protected],bun,1.1.30)

Hello I'm trying to deploy a nextjs application. I've connected it to my github repo, but when it tries to build, it fails with the following:
2024-11-16T06:04:33.142507Z Cloning repository...
2024-11-16T06:04:41.108393Z From https://github.com/magick93/typebot.io
2024-11-16T06:04:41.109114Z * branch 36595468f7ffe05f4f8503018f88b159d4f92963 -> FETCH_HEAD
...
2024-11-16T06:04:42.201922Z Success: Finished cloning repository files
2024-11-16T06:04:43.680218Z Checking for configuration in a wrangler.toml configuration file (BETA)
2024-11-16T06:04:43.68086Z
2024-11-16T06:04:43.78878Z No wrangler.toml file found. Continuing.
...
2024-11-16T06:04:47.129702Z Bun v1.1.30 is installed successfully!
2024-11-16T06:04:47.592707Z Installing project dependencies: yarn
2024-11-16T06:04:47.914507Z Usage Error: Unsupported package manager specification ([email protected],bun,1.1.30)
2024-11-16T06:04:47.914759Z
2024-11-16T06:04:47.914885Z $ yarn ...
2024-11-16T06:04:47.921663Z Error: Exit with error code: 1
2024-11-16T06:04:47.921839Z at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
2024-11-16T06:04:47.921962Z at Object.onceWrapper (node:events:652:26)
2024-11-16T06:04:47.922068Z at ChildProcess.emit (node:events:537:28)
2024-11-16T06:04:47.922146Z at ChildProcess._handle.onexit (node:internal/child_process:291:12)
2024-11-16T06:04:47.931192Z Failed: build command exited with code: 1
2024-11-16T06:04:48.615077Z Failed: error occurred while running build command
2024-11-16T06:04:33.142507Z Cloning repository...
2024-11-16T06:04:41.108393Z From https://github.com/magick93/typebot.io
2024-11-16T06:04:41.109114Z * branch 36595468f7ffe05f4f8503018f88b159d4f92963 -> FETCH_HEAD
...
2024-11-16T06:04:42.201922Z Success: Finished cloning repository files
2024-11-16T06:04:43.680218Z Checking for configuration in a wrangler.toml configuration file (BETA)
2024-11-16T06:04:43.68086Z
2024-11-16T06:04:43.78878Z No wrangler.toml file found. Continuing.
...
2024-11-16T06:04:47.129702Z Bun v1.1.30 is installed successfully!
2024-11-16T06:04:47.592707Z Installing project dependencies: yarn
2024-11-16T06:04:47.914507Z Usage Error: Unsupported package manager specification ([email protected],bun,1.1.30)
2024-11-16T06:04:47.914759Z
2024-11-16T06:04:47.914885Z $ yarn ...
2024-11-16T06:04:47.921663Z Error: Exit with error code: 1
2024-11-16T06:04:47.921839Z at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
2024-11-16T06:04:47.921962Z at Object.onceWrapper (node:events:652:26)
2024-11-16T06:04:47.922068Z at ChildProcess.emit (node:events:537:28)
2024-11-16T06:04:47.922146Z at ChildProcess._handle.onexit (node:internal/child_process:291:12)
2024-11-16T06:04:47.931192Z Failed: build command exited with code: 1
2024-11-16T06:04:48.615077Z Failed: error occurred while running build command
I'm not sure why its trying to use yarn as this is not used in the project. There was a yarn lock file in the repo, but even after removing this the same error as above occurs. Any help is greatly appreciated.
1 Reply
Tenshi
Tenshi2w ago
me too
Want results from more Discord servers?
Add your server