Pol
Pol
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
I guess is that it initially detects bun lockfile, but when proceeds to install, it doesn't detect the lockfile on the set root directory (since there is none, it's a monorepo)
17 replies
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
Hey @Erisa (sorry for the ping 🙏), still happening on another project, same issue. Pages installs bun, and then proceeds to use npm install. I recreated it accidentally using a monorepo with bun, and setting the Root directory. Should I report it somewhere?
17 replies
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
and see if it changes anything
17 replies
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
I'll try to force it to use pnpm instead of bun
17 replies
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
No description
17 replies
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
it's a monorepo
17 replies
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
ls on apps/nextjs
README.md sentry.client.config.ts
cloudflare-env.d.ts sentry.edge.config.ts
eslint.config.js sentry.server.config.ts
next-env.d.ts src
next.config.js tailwind.config.ts
node_modules tsconfig.json
package.json vercel.json
postcss.config.cjs wrangler.toml
public
README.md sentry.client.config.ts
cloudflare-env.d.ts sentry.edge.config.ts
eslint.config.js sentry.server.config.ts
next-env.d.ts src
next.config.js tailwind.config.ts
node_modules tsconfig.json
package.json vercel.json
postcss.config.cjs wrangler.toml
public
17 replies
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
ls on root
LICENSE bun.lockb packages turbo.json
README.md node_modules tooling
apps package.json turbo
LICENSE bun.lockb packages turbo.json
README.md node_modules tooling
apps package.json turbo
17 replies
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
let me send you some screenshots
17 replies
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
only the bun one
17 replies
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
nop
17 replies
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
Thank you in advance 😄
17 replies
CDCloudflare Developers
Created by Pol on 8/24/2024 in #pages-help
I'm using Bun, it's specified on package.json, but pages tries to download with npm
CF Pages logs:
2024-08-24T14:44:58.79547Z Cloning repository...
...
2024-08-24T14:45:01.465903Z Found wrangler.toml file. Reading build configuration...
2024-08-24T14:45:01.47236Z pages_build_output_dir: .vercel/output/static
2024-08-24T14:45:01.472518Z Build environment variables:
2024-08-24T14:45:01.472674Z - ENVIRONMENT: production
2024-08-24T14:45:01.559448Z Successfully read wrangler.toml file.
2024-08-24T14:45:02.973901Z Detected the following tools from environment: [email protected], [email protected], [email protected]
2024-08-24T14:45:02.974408Z Installing bun 1.1.20
2024-08-24T14:45:03.105868Z Downloading Bun v1.1.20...
2024-08-24T14:45:04.432517Z Archive: /tmp/asdf-bun.xlvN/bun.zip
2024-08-24T14:45:05.155904Z inflating: /opt/buildhome/.asdf/downloads/bun/1.1.20/bun
2024-08-24T14:45:05.224589Z Installing Bun v1.1.20...
2024-08-24T14:45:05.326078Z Bun v1.1.20 is installed successfully!
2024-08-24T14:45:05.823032Z Installing project dependencies: npm install --progress=false
2024-08-24T14:45:07.661233Z npm ERR! code EUNSUPPORTEDPROTOCOL
2024-08-24T14:45:07.662731Z npm ERR! Unsupported URL Type "workspace:": workspace:*
2024-08-24T14:45:07.664031Z
2024-08-24T14:45:07.664273Z npm ERR! A complete log of this run can be found in: /opt/buildhome/.npm/_logs/2024-08-24T14_45_06_551Z-debug-0.log
2024-08-24T14:45:07.676242Z Error: Exit with error code: 1
2024-08-24T14:45:07.676386Z at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
2024-08-24T14:45:07.676484Z at Object.onceWrapper (node:events:652:26)
2024-08-24T14:45:07.676621Z at ChildProcess.emit (node:events:537:28)
2024-08-24T14:45:07.676718Z at ChildProcess._handle.onexit (node:internal/child_process:291:12)
2024-08-24T14:45:07.689626Z Failed: build command exited with code: 1
2024-08-24T14:45:08.64283Z Failed: error occurred while running build command
2024-08-24T14:44:58.79547Z Cloning repository...
...
2024-08-24T14:45:01.465903Z Found wrangler.toml file. Reading build configuration...
2024-08-24T14:45:01.47236Z pages_build_output_dir: .vercel/output/static
2024-08-24T14:45:01.472518Z Build environment variables:
2024-08-24T14:45:01.472674Z - ENVIRONMENT: production
2024-08-24T14:45:01.559448Z Successfully read wrangler.toml file.
2024-08-24T14:45:02.973901Z Detected the following tools from environment: [email protected], [email protected], [email protected]
2024-08-24T14:45:02.974408Z Installing bun 1.1.20
2024-08-24T14:45:03.105868Z Downloading Bun v1.1.20...
2024-08-24T14:45:04.432517Z Archive: /tmp/asdf-bun.xlvN/bun.zip
2024-08-24T14:45:05.155904Z inflating: /opt/buildhome/.asdf/downloads/bun/1.1.20/bun
2024-08-24T14:45:05.224589Z Installing Bun v1.1.20...
2024-08-24T14:45:05.326078Z Bun v1.1.20 is installed successfully!
2024-08-24T14:45:05.823032Z Installing project dependencies: npm install --progress=false
2024-08-24T14:45:07.661233Z npm ERR! code EUNSUPPORTEDPROTOCOL
2024-08-24T14:45:07.662731Z npm ERR! Unsupported URL Type "workspace:": workspace:*
2024-08-24T14:45:07.664031Z
2024-08-24T14:45:07.664273Z npm ERR! A complete log of this run can be found in: /opt/buildhome/.npm/_logs/2024-08-24T14_45_06_551Z-debug-0.log
2024-08-24T14:45:07.676242Z Error: Exit with error code: 1
2024-08-24T14:45:07.676386Z at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
2024-08-24T14:45:07.676484Z at Object.onceWrapper (node:events:652:26)
2024-08-24T14:45:07.676621Z at ChildProcess.emit (node:events:537:28)
2024-08-24T14:45:07.676718Z at ChildProcess._handle.onexit (node:internal/child_process:291:12)
2024-08-24T14:45:07.689626Z Failed: build command exited with code: 1
2024-08-24T14:45:08.64283Z Failed: error occurred while running build command
17 replies
TtRPC
Created by 青木 on 3/31/2023 in #❓-help
The type of the second route of the nested route is never
Hey @青木 , I'm having the same issue on my monorepo. Did you find any solution to this issue. We are in exactly the same scenario. Thanks in advance 😄
3 replies
CDCloudflare Developers
Created by daniel_klungo on 6/13/2024 in #workers-help
monorepo with multiple workers - does each one need a separate worker registry?
Maybe the release doesn't include that fix
51 replies
CDCloudflare Developers
Created by daniel_klungo on 6/13/2024 in #workers-help
monorepo with multiple workers - does each one need a separate worker registry?
I'm using the latest wrangler
51 replies
CDCloudflare Developers
Created by daniel_klungo on 6/13/2024 in #workers-help
monorepo with multiple workers - does each one need a separate worker registry?
without sleeps it mostly never works, I guess due to a race condition with that port
51 replies
CDCloudflare Developers
Created by daniel_klungo on 6/13/2024 in #workers-help
monorepo with multiple workers - does each one need a separate worker registry?
Nono, with sleeps it works 100% of the time
51 replies
CDCloudflare Developers
Created by daniel_klungo on 6/13/2024 in #workers-help
monorepo with multiple workers - does each one need a separate worker registry?
Also, seems to be a bit random. Sometimes, without using the sleep, it works, but most of the times the occupied port error is thrown
51 replies