-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Closed
Labels
SWCRelated to minification/transpilation in Next.js.Related to minification/transpilation in Next.js.
Description
Verify canary release
- I verified that the issue exists in Next.js canary release
Provide environment information
Operating System:
Platform: freebsd
Arch: x64
Version: FreeBSD 13.0-RELEASE-p11 #0: Tue Apr 5 18:54:35 UTC 2022 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
Binaries:
Node: 16.13.0
npm: 8.5.2
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.1.6
react: 18.1.0
react-dom: 18.1.0
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Trying to run next build
on FreeBSD produces the following error and the project is not built:
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
The issue is that such package doesn't exist, so it cannot be installed.
Expected Behavior
The package is found and installed.
To Reproduce
Simply try to build a next.js app on FreeBSD.
ismatim and ldaveriolin72h
Metadata
Metadata
Assignees
Labels
SWCRelated to minification/transpilation in Next.js.Related to minification/transpilation in Next.js.