bun icon indicating copy to clipboard operation
bun copied to clipboard

Error setup tRPC with Next.js

Open architectureman opened this issue 3 years ago • 0 comments

Version

0.1.10

Platform

Darwin Mikes-MacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:25:27 PDT 2022; root:xnu-8020.141.5~2/RELEASE_X86_64 x86_64

What steps will reproduce the bug?

Just build follow t3-stack video

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior?

No response

What do you see instead?

undefined is not an object (evaluating 'ReactSharedInternals.ReactCurrentDispatcher') λ() node_modules/react-dom/cjs/react-dom.development.js:994:29

      error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');
    }
  }
}

var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
/*                          ^ happened here                             */

Stack trace:


  λ()   node_modules/react-dom/cjs/react-dom.development.js:994:29
  λ()   node_modules/react-dom/cjs/react-dom.development.js:29864:71
  λ()   node_modules.server.bun:0:16354
  λ()   node_modules/react-dom/index.js:37:27
  λ()   node_modules.server.bun:0:16354
  (esm) node_modules/react-query/es/react/reactBatchedUpdates.js:1:0

Info:

bun v0.1.10 framework: [email protected] macOS 12.6.0 (x64) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 Edg/104.0.1293.63 Pathname: /

Error Image

Additional information

No response

architectureman avatar Aug 24 '22 14:08 architectureman