Verify canary release
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000
Binaries:
Node: 18.13.0
npm: 8.19.3
Yarn: 1.22.19
pnpm: 7.26.0
Relevant packages:
next: 13.2.4
eslint-config-next: 13.2.4
react: 18.2.0
react-dom: 18.2.0
Which area(s) of Next.js are affected?
next build CLI
To Reproduce
I'll dig into it, maybe I can reproduce it easily. However I'd expect next build not to segfault on my existing codebase which works on 13.2.3 without changes other than upgrading next.
Describe the Bug
After upgrading next to 13.2.4, when running next build, I'm running into a segfault.
As you can see, I'm using the app dir (only). Tell me if you need more info.
$ next build --experimental-app-only
info - Loaded env from /next/apps/web/.env.local
info - Loaded env from /next/apps/web/.env.production
warn - You have enabled experimental features (appDir, swcPlugins, serverComponentsExternalPackages) in next.config.mjs.
warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
info - Thank you for testing `appDir` please leave your feedback at https://nextjs.link/app-feedback
(node:83878) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
error Command failed with signal "SIGSEGV".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /user/.nvm/versions/node/v18.13.0/bin/node
Arguments: /user/.cache/node/corepack/yarn/1.22.19/lib/cli.js build
Directory: /next
Output:
info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
Expected Behavior
No Segfault when running yarn build
How are you deploying your application? (if relevant)
On Vercel, where it's also segfaulting. (Also in my Docker build)
NEXT-939
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000 Binaries: Node: 18.13.0 npm: 8.19.3 Yarn: 1.22.19 pnpm: 7.26.0 Relevant packages: next: 13.2.4 eslint-config-next: 13.2.4 react: 18.2.0 react-dom: 18.2.0Which area(s) of Next.js are affected?
next buildCLITo Reproduce
I'll dig into it, maybe I can reproduce it easily. However I'd expect
next buildnot to segfault on my existing codebase which works on 13.2.3 without changes other than upgrading next.Describe the Bug
After upgrading next to 13.2.4, when running
next build, I'm running into a segfault.As you can see, I'm using the app dir (only). Tell me if you need more info.
Expected Behavior
No Segfault when running
yarn buildHow are you deploying your application? (if relevant)
On Vercel, where it's also segfaulting. (Also in my Docker build)
NEXT-939