blitz icon indicating copy to clipboard operation
blitz copied to clipboard

Error log on startup dev / build

Open lksnmnn opened this issue 9 months ago • 3 comments

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

lksnmnn avatar May 13 '25 14:05 lksnmnn

I second this issue, same here

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

Output of blitz -v

Blitz version: 2.2.2 (local)
Linux 6.8 | linux-x64 | Node: v22.16.0


 Package manager: npm

  System:
    OS: Linux 6.8 Linux Mint 22.1 (Xia)
    CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12500H
    Memory: 6.80 GB / 15.26 GB
    Shell: 4.0.2 - /usr/bin/fish
  Binaries:
    Node: 22.16.0 - /tmp/xfs-59c0fd5d/node
    Yarn: 4.3.1 - /tmp/xfs-59c0fd5d/yarn
    npm: 11.4.1 - ~/.nvm/versions/node/v22.16.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.9.0 => 6.12.0 
    blitz: 2.2.2 => 2.2.2 
    next: ^15.4.3 => 15.4.3 
    prisma: ^6.9.0 => 6.12.0 
    react: ^19.1.0 => 19.1.0 
    react-dom: ^19.1.0 => 19.1.0 
    typescript: 5.8.3 => 5.8.3 

@lksnmnn By any chance have you find a solution to this ENONT error?

lmisea avatar Jul 24 '25 17:07 lmisea

No, I have not had the time to look into this.

lksnmnn avatar Jul 28 '25 13:07 lksnmnn

Okay, thanks

lmisea avatar Jul 28 '25 14:07 lmisea