Hi @Dhravya thanks for this amazing template first.
I have a weird issue when deploying my project with bun run deploy on MacOS.
Everything looks fine until I am prompted:
web:deploy: The project you specified does not exist: "recipe-stripper". Would you like to create it?
web:deploy: ❯ Create a new project
However there is nothing I can do afterwards. Whatever I type, nothing happens. Kind of feel stupid already :-D.
Tried pressing enter, Y, y, yes, project-name. Nothing works.
Here the full deploy output:
bun run deploy
$ turbo deploy
turbo 2.0.12
• Packages in scope: @repo/shared-types, @repo/tailwind-config, @repo/typescript-config, @repo/ui, web
• Running deploy in 5 packages
• Remote caching disabled
web:deploy: cache miss, executing 3119499abd4088bc
web:deploy:
web:deploy: $ bun pages:build && wrangler pages deploy
web:deploy: $ bunx @cloudflare/next-on-pages
web:deploy: ⚡️ @cloudflare/next-on-pages CLI v.1.13.2
web:deploy: ⚡️ Detected Package Manager: bun (1.1.10)
web:deploy: ⚡️ Preparing project...
web:deploy: ⚡️ Project is ready
web:deploy: ⚡️ Building project...
web:deploy: ▲ (node:21416) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
web:deploy: ▲ (Use `node --trace-deprecation ...` to show where the warning was created)
web:deploy: ▲ Vercel CLI 34.4.0
web:deploy: ▲ Detected `bun.lockb` generated by bun@1.x
web:deploy: ▲ Warning: Bun is used as a package manager at build time only, not at runtime with Functions
web:deploy: ▲ WARNING: You should not upload the `.next` directory.
web:deploy: ▲ Installing dependencies...
web:deploy: ▲ bun install v1.1.10 (5102a944)
web:deploy: ▲
web:deploy: ▲ 5 packages installed [1201.00ms]
web:deploy: ▲ Detected Next.js version: 14.2.5
web:deploy: ▲ Running "bun run build"
web:deploy: ▲ $ next build
web:deploy: ▲ Attention: Next.js now collects completely anonymous telemetry regarding usage.
web:deploy: ▲ This information is used to shape Next.js' roadmap and prioritize features.
web:deploy: ▲ You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
web:deploy: ▲ https://nextjs.org/telemetry
web:deploy: ▲ ▲ Next.js 14.2.5
web:deploy: ▲
web:deploy: ▲ Creating an optimized production build ...
web:deploy: ▲ (node:21535) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
web:deploy: ▲ (Use `node --trace-deprecation ...` to show where the warning was created)
web:deploy: ▲ (node:21559) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
web:deploy: ▲ (Use `node --trace-deprecation ...` to show where the warning was created)
web:deploy: ▲ (node:21582) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
web:deploy: ▲ (Use `node --trace-deprecation ...` to show where the warning was created)
web:deploy: ▲ ✓ Compiled successfully
web:deploy: ▲ Skipping linting
web:deploy: ▲ Checking validity of types ...
web:deploy: ▲ Collecting page data ...
web:deploy: ▲ ⚠ Using edge runtime on a page currently disables static generation for that page
web:deploy: ▲ Generating static pages (0/5) ...
web:deploy: ▲ Generating static pages (1/5)
web:deploy: ▲ Generating static pages (2/5)
web:deploy: ▲ Generating static pages (3/5)
web:deploy: ▲ ✓ Generating static pages (5/5)
web:deploy: ▲ Finalizing page optimization ...
web:deploy: ▲ Collecting build traces ...
web:deploy: ▲
web:deploy: ▲ Route (app) Size First Load JS
web:deploy: ▲ ┌ ƒ / 1.62 kB 88.8 kB
web:deploy: ▲ ├ ○ /_not-found 875 B 88 kB
web:deploy: ▲ ├ ƒ /api/[...nextauth] 0 B 0 B
web:deploy: ▲ ├ ƒ /api/hello 0 B 0 B
web:deploy: ▲ ├ ƒ /api/upload_image 0 B 0 B
web:deploy: ▲ └ ○ /upload 58.1 kB 145 kB
web:deploy: ▲ + First Load JS shared by all 87.2 kB
web:deploy: ▲ ├ chunks/1dd3208c-51bcef33bceef2af.js 53.7 kB
web:deploy: ▲ ├ chunks/874-8ef378c567c69127.js 31.6 kB
web:deploy: ▲ └ other shared chunks (total) 1.97 kB
web:deploy: ▲ ○ (Static) prerendered as static content
web:deploy: ▲ ƒ (Dynamic) server-rendered on demand
web:deploy: ▲ Traced Next.js server files in: 34.636ms
web:deploy: ▲ Created all serverless functions in: 16.351ms
web:deploy: ▲ Collected static files (public/, static/, .next/static): 3.056ms
web:deploy: ▲ Build Completed in .vercel/output [28s]
web:deploy: ⚡️ Completed `bunx vercel build`.
web:deploy:
web:deploy: ⚡️ Build Summary (@cloudflare/next-on-pages v1.13.2)
web:deploy: ⚡️
web:deploy: ⚡️ Edge Function Routes (4)
web:deploy: ⚡️ ┌ /
web:deploy: ⚡️ ├ /api/[...nextauth]
web:deploy: ⚡️ ├ /api/hello
web:deploy: ⚡️ └ /api/upload_image
web:deploy: ⚡️
web:deploy: ⚡️ Prerendered Routes (3)
web:deploy: ⚡️ ┌ /favicon.ico
web:deploy: ⚡️ ├ /upload
web:deploy: ⚡️ └ /upload.rsc
web:deploy: ⚡️
web:deploy: ⚡️ Other Static Assets (36)
web:deploy: ⚡️ ┌ /_app.rsc.json
web:deploy: ⚡️ ├ /_document.rsc.json
web:deploy: ⚡️ ├ /_error.rsc.json
web:deploy: ⚡️ ├ /404.html
web:deploy: ⚡️ └ ... 32 more
web:deploy:
web:deploy: ⚡️ Build log saved to '.vercel/output/static/_worker.js/nop-build-log.json'
web:deploy: ⚡️ Generated '.vercel/output/static/_worker.js/index.js'.
web:deploy: ⚡️ Build completed in 1.76s
web:deploy: The project you specified does not exist: "cloudflare-saas-starter". Would you like to create it?
web:deploy: ❯ Create a new project
``
`
Would be amazing if you could hint time to the solution of this
Hi @Dhravya thanks for this amazing template first.
I have a weird issue when deploying my project with
bun run deploy
on MacOS. Everything looks fine until I am prompted:However there is nothing I can do afterwards. Whatever I type, nothing happens. Kind of feel stupid already :-D. Tried pressing enter, Y, y, yes, project-name. Nothing works.
Here the full deploy output: