File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 824
824
"823" : " Timeout waiting for error state from frontend. The browser may not be responding to HMR messages." ,
825
825
"824" : " URL is required in MCP browser response. This is a bug in Next.js." ,
826
826
"825" : " Timeout waiting for response from frontend. The browser may not be responding to HMR messages." ,
827
- "826" : " unknown bundler: %s"
827
+ "826" : " unknown bundler: %s" ,
828
+ "827" : " Pass either `webpack` or `turbopack`, not both."
828
829
}
Original file line number Diff line number Diff line change @@ -542,10 +542,10 @@ function createServer(
542
542
( options . turbo || options . turbopack || process . env . IS_TURBOPACK_TEST )
543
543
) {
544
544
if ( options . webpack ) {
545
- throw new Error ( 'Pass either webpack or turbopack, not both.' )
545
+ throw new Error ( 'Pass either ` webpack` or ` turbopack` , not both.' )
546
546
}
547
547
process . env . TURBOPACK = '1'
548
- } else if ( ! options . webpack ) {
548
+ } else if ( ! options ? .webpack ) {
549
549
// If no options are set we default to turbopack
550
550
process . env . TURBOPACK = 'auto'
551
551
}
You can’t perform that action at this time.
0 commit comments