Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is FreeBSD supported? #4609

Answered by kwonoj
ismatim asked this question in Q&A
May 10, 2022 · 2 comments · 1 reply
Discussion options

Hi devs from the world!,

I work daily with freebsd in my machine which is kinda of old, no fancy mac, no laptop, no windows, some hardware components are quite old maybe 10 years or so but hey! They are working great to me till version 12.1.4 from nextjs. I decided to give a try to version 12.1.6 and for my surprise cannot find the way to disable swc for building. Message below:

06:08:40 ø PORT=5000 yarn run dev
yarn run v1.22.18
$ PORT=${PORT:-3000} next dev -p PORT
ready - started server on 0.0.0.0:5000, url: http://localhost:5000
info - Loaded env from /apps/web/.env.local
info - Loaded env from //apps/web/.env
info - Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc" https://nextjs.org/docs/messages/swc-disabled
info - Using external babel configuration from /apps/web/.babelrc
wait - compiling...
event - compiled client and server successfully in 4.7s (614 modules)
warn - Attempted to load @next/swc-freebsd-x64, but it was not installed
error - Failed to load SWC binary for freebsd/x64, see more info here: https://nextjs.org/docs/messages/failed-loading-swc
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

How could I make this work? 🙏 any kind of help more than welcome!

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by kwonoj
Comment options

Well...
Here we go again:

 さんかく Next.js 14.2.31
 Creating an optimized production build ...
 ⚠ Attempted to load @next/swc-freebsd-x64, but it was not installed
 ⨯ Failed to load SWC binary for freebsd/x64, see more info here: https://nextjs.org/docs/messages/failed-loading-swc
Next.js build worker exited with code: 1 and signal: null

Can we have one for FreeBSD 14 ?

You must be logged in to vote
1 reply
Comment options

kdy1 Sep 3, 2025
Maintainer

No, and @next/swc-freebsd-x64 is not related to this repository. You should go to vercel/next.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /