blitz-js / blitz-js/blitz

Error log on startup dev / build

Open
#4,437 3 comments 0 reactions 0 assignees View on GitHub
kind/bug status/triage
Dominant language
TypeScript
Stars
14.1k
Forks
803
PR merge metrics
No merged PRs in 30d

Description

### What is the problem?

When starting the server either via `blitz dev` or running `blitz build`. The following error is being logged to console.

```
{
"errno": -2,
"code": "ENOENT",
"syscall": "open",
"path": ".../node_modules/next/dist/client/on-recoverable-error.js"
}
```

### Paste all your error logs here:

```
Loaded env from .env
{
"errno": -2,
"code": "ENOENT",
"syscall": "open",
"path": "node_modules/next/dist/client/on-recoverable-error.js"
}
✔ Routes manifest was successfully generated
```

### Paste all relevant code snippets here:

```
PASTE_HERE (leave the ``` marks)
```

### What are detailed steps to reproduce this?

1. Start the app

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

```
Blitz version: 2.0.0-beta.34 (global)
Blitz version: 2.2.2 (local)
macOS | darwin-x64 | Node: v22.15.0

Package manager: npm

System:
OS: macOS 15.4.1
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 4.83 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.15.0 - ~/.nvm/versions/node/v22.15.0/bin/node
Yarn: Not Found
npm: 10.9.2 - ~/.nvm/versions/node/v22.15.0/bin/npm
npmPackages:
@blitzjs/auth: 2.2.2 => 2.2.2
@blitzjs/next: 2.2.2 => 2.2.2
@blitzjs/rpc: 2.2.2 => 2.2.2
@prisma/client: ^6.7.0 => 6.7.0
blitz: 2.2.2 => 2.2.2
next: 15.3.2 => 15.3.2
prisma: ^6.7.0 => 6.7.0
react: 19.1.0 => 19.1.0
react-dom: 19.1.0 => 19.1.0
typescript: ^5.8.3 => 5.8.3
```

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

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.