{14:44}~/Sandbox/nextra-docs-template:main ✗ ➭ npx open-next@latest build
Detected `pnpm-lock.yaml` generated by pnpm 7...
WARNING: You should not upload the `.next` directory.
Installing dependencies...
Lockfile is up to date, resolution step is skipped
Already up to date
Done in 1s
Detected Next.js version: 13.0.6
Running "pnpm run build"
> nextra-docs-template@0.0.1 build /Users/awin/Sandbox/nextra-docs-template
> next build
info - Linting and checking validity of types
info - Creating an optimized production build
info - Compiled successfully
info - Collecting page data
info - Generating static pages (7/7)
info - Finalizing page optimization
Route (pages) Size First Load JS
┌ ○ / (406 ms) 1.45 kB 142 kB
├ ○ /404 181 B 73.3 kB
├ ○ /about 1.15 kB 142 kB
├ ○ /advanced (405 ms) 1.14 kB 142 kB
├ ○ /advanced/satori (374 ms) 1.19 kB 142 kB
└ ○ /another 1.72 kB 142 kB
└ css/cd3af4f81ba59161.css 103 B
+ First Load JS shared by all 73.1 kB
├ chunks/framework-8d78bf989db74c8f.js 45.4 kB
├ chunks/main-cf1d3a2c4db4ec36.js 26.7 kB
├ chunks/pages/_app-984dc474a573cad1.js 196 B
└ chunks/webpack-ecab96d9c6b78b24.js 798 B
○ (Static) automatically rendered as static HTML (uses no initial props)
Collected static files (public/, static/, .next/static): 5.146ms
Bundling server function...
Bundling image optimization function...
file:///Users/awin/.npm/_npx/a94ce00fc9d9ef90/node_modules/open-next/dist/build.js:31
createMiddlewareBundle(ret.output.middleware.files["index.js"].data);
^
TypeError: Cannot read properties of undefined (reading 'files')
at build (file:///Users/awin/.npm/_npx/a94ce00fc9d9ef90/node_modules/open-next/dist/build.js:31:50)