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
Which area(s) are affected? (Select all that apply)
Middleware / Edge (API routes, runtime)
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local)
Additional context
I have seen suggested that the solution is herebut I have added the serverComponentsExternalPackages property to next.config.js, and I also note that puppeteer is on the list of automatic exclusions, so seems to be middleware specific?
The text was updated successfully, but these errors were encountered:
Link to the code that reproduces this issue
Sandbox
To Reproduce
run
npm run dev
Current vs. Expected behavior
Currently, build fails
it should take a PDF of the index page.
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000 Binaries: Node: 20.11.1 npm: 10.4.0 Yarn: N/A pnpm: N/A Relevant Packages: next: 14.1.0 eslint-config-next: 14.1.0 react: 18.2.0 react-dom: 18.2.0 typescript: 5.3.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Middleware / Edge (API routes, runtime)
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local)
Additional context
I have seen suggested that the solution is here but I have added the
serverComponentsExternalPackages
property tonext.config.js
, and I also note that puppeteer is on the list of automatic exclusions, so seems to be middleware specific?The text was updated successfully, but these errors were encountered: