Skip to content

blitzjs app router doesn't support vercel deploy #4433

@gengjiawen

Description

@gengjiawen

What is the problem?

after this gengjiawen/sass-template@e3dbfc0

Paste all your error logs here:

⨯ Error: Usage of `getBlitzContext` is supported only in next.js 13.0.0 and above. Please upgrade your next.js version.
    at <unknown> (.next/server/chunks/881.js:77:23128)
    at Generator.next (<anonymous>)
    at <unknown> (.next/server/chunks/881.js:77:20730)
    at new Promise (<anonymous>)
    at ej (.next/server/chunks/881.js:77:20550)
    at eD (.next/server/chunks/881.js:77:22851)
    at <unknown> (.next/server/chunks/881.js:3:4990)
    at Generator.next (<anonymous>)
    at <unknown> (.next/server/chunks/881.js:3:4875)
    at new Promise (<anonymous>) {
  digest: '744844193'
}```


### Paste all relevant code snippets here:

PASTE_HERE (leave the ``` marks)



### What are detailed steps to reproduce this?

1.

### Run `blitz -v` and paste the output here:

System:
OS: Linux 6.1 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (16) x64 AMD EPYC 7B13
Memory: 35.83 GB / 62.79 GB
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 22.13.1 - ~/.nvm/versions/node/v22.13.1/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v22.13.1/bin/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.13.1/bin/npm
npmPackages:
@blitzjs/auth: 3.0.1 => 3.0.1
@blitzjs/next: 3.0.1 => 3.0.1
@blitzjs/rpc: 3.0.1 => 3.0.1
@prisma/client: 6.5.0 => 6.5.0
blitz: 3.0.1 => 3.0.1
next: 15.2.2 => 15.2.2
prisma: 6.5.0 => 6.5.0
react: 19.0.0 => 19.0.0
react-dom: 19.0.0 => 19.0.0
typescript: 5 => 5.8.2 ```

Please include below any other applicable logs and screenshots that show your problem:

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions