Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant find blitz custom server #1002

Open
odi89 opened this issue May 22, 2024 · 0 comments
Open

cant find blitz custom server #1002

odi89 opened this issue May 22, 2024 · 0 comments

Comments

@odi89
Copy link

odi89 commented May 22, 2024

What is the problem?

The custom server does not work as described in the docs😞

Paste all your error logs here:

Cannot find module 'blitz/custom-server' or its corresponding type declarations.ts(2307)

Paste all relevant code snippets here:

PASTE_HERE (leave the ``` marks)

What are detailed steps to reproduce this?

  1. install a new blitz app and try to put in the custom server example from the docs

Run blitz -v and paste the output here:

Blitz version: 2.0.0-beta.17 (global)
Blitz version: 2.0.8 (local)
macOS | darwin-arm64 | Node: v18.16.0


 Package manager: npm

  System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 338.44 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    Yarn: Not Found
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
  npmPackages:
    @blitzjs/auth: 2.0.8 => 2.0.8 
    @blitzjs/next: 2.0.8 => 2.0.8 
    @blitzjs/rpc: 2.0.8 => 2.0.8 
    @prisma/client: 4.6.0 => 4.6.0 
    blitz: 2.0.8 => 2.0.8 
    next: 13.5.6 => 13.5.6 
    prisma: 4.6.0 => 4.6.0 
    react: 18.2.0 => 18.2.0 
    react-dom: 18.2.0 => 18.2.0 
    typescript: ^4.8.4 => 4.9.5 

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

Skjermbilde 2024-05-22 kl  14 39 43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant