next.js icon indicating copy to clipboard operation
next.js copied to clipboard

fix: only call `captureOwnerStack` if it exists

Open kevva opened this issue 2 weeks ago • 1 comments

Building or starting Next.js in anything other than production mode is currently erroring with TypeError: _getClientReact.captureOwnerStack is not a function. This used to work but had a regression in https://github.com/vercel/next.js/pull/85486.

In our end-to-end tests we're building and starting with NODE_ENV=test so instead of upgrading to the latest version last week because of the CVE discovery, we had to downgrade instead.

kevva avatar Dec 09 '25 11:12 kevva

Allow CI Workflow Run

  • [ ] approve CI run for commit: bfbe369d04d3ad7b8cd06353ac906793d65f038a

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

nextjs-bot avatar Dec 09 '25 11:12 nextjs-bot