You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deno run -A --unstable npm:degit 'timlrx/tailwind-nextjs-starter-blog'
Convert next.config.js to ESM
npm i
deno run -A --unstable-byonm ./node_modules/.bin/next dev
Visit http://localhost:3000
In the wall of errors, you'll find:
Error handling upgrade request TypeError: n.write is not a function
at WebSocketServer.completeUpgrade (file:///Users/divy/gh/demo/node_modules/next/dist/compiled/ws/index.js:1:31537)
at WebSocketServer.handleUpgrade (file:///Users/divy/gh/demo/node_modules/next/dist/compiled/ws/index.js:1:30712)
at HotReloader.onHMR (file:///Users/divy/gh/demo/node_modules/next/src/server/dev/hot-reloader-webpack.ts:365:14)
at upgradeHandler (file:///Users/divy/gh/demo/node_modules/next/src/server/lib/router-server.ts:579:49)
at ServerImpl.<anonymous> (file:///Users/divy/gh/demo/node_modules/next/src/server/lib/start-server.ts:176:13)
at ServerImpl.emit (ext:deno_node/_events.mjs:383:28)
at handler (node:http:1287:14)
at ext:deno_http/00_serve.js:460:24
at ext:deno_http/00_serve.js:694:29
at eventLoopTick (ext:core/01_core.js:182:7)
The text was updated successfully, but these errors were encountered:
To reproduce:
mkdir repro && cd repro
deno run -A --unstable npm:degit 'timlrx/tailwind-nextjs-starter-blog'
next.config.js
to ESMnpm i
deno run -A --unstable-byonm ./node_modules/.bin/next dev
http://localhost:3000
In the wall of errors, you'll find:
The text was updated successfully, but these errors were encountered: