-
Notifications
You must be signed in to change notification settings - Fork 27.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build nextjs app on FreeBSD #59997
Comments
Can reproduce. Whoever is in charge of these binaries have failed to produce them for (Free)BSD systems. |
I can't build ztnet application. My system: FreeBSD 14.0-RELEASE-p3 Errorlog:
|
Same here with FreeBSD 13.2 |
I had the same problem, even if I built the next-swc with rust it still crashed. I managed to get it running by using @next/swc-wasm-nodejs, and then change the hope it helps. |
@wangii, which FreeBSD version do you use? I tried to build with your suggestion, but with no luck.
|
The FreeBSD version I'm using: 14.0-RELEASE. @tinola I don't think it's the version of FreeBSD matters here, it's the next.js version. I'm using 14.1.0. could you try this version of next? |
You're right, OS version doesn't matter. |
This issue still persist in the latest canary version. I would rather use experimental option instead of editing node_modules itself, but https://github.com/vercel/next.js/blob/canary/packages/next/src/build/swc/index.ts#L1478 |
Seems related to this I receive a similar error when I try to build my next project on a raspberry pi
And was also unable to opt out of SWC |
I have the same issue. FreeBSD 13.2-RELEASE. Setting swcMinify: |
Yeah, so they deprecated freebsd as well as linux arm
|
Can we please get an official statement if this is going to be fixed or if FreeBSD support actually is going to be dropped? |
I wonder if freebsd and nextjs will have a future ... is there anything left ? ▲ Next.js 14.2.5
✓ Starting... |
Verify canary release
Provide environment information
Operating System: Platform: freebsd Arch: x64 Version: FreeBSD 13.2-RELEASE #0 releng/13.2-n254617-525ecfdad597-dirty: Wed May 31 19:03:43 CEST 2023 Binaries: Node: 20.10.0 npm: 9.6.6 Yarn: 1.22.19 pnpm: N/A Relevant Packages: next: 14.0.4 / 14.0.5-canary.29 eslint-config-next: 14.0.4 react: 18.2.0 react-dom: 18.2.0 typescript: 5.3.3 Next.js Config: output: N/A
Which example does this report relate to?
hello-world
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
yarn build / yarn start
Describe the Bug
I have error:
Even I adding to .babelrc:
and swcMinifty: false to next.config.js build still failing
Expected Behavior
App should build
To Reproduce
yarn build
The text was updated successfully, but these errors were encountered: