Skip to content

Missing @next/swc-freebsd-x64 package #36639

@alexdupre

Description

@alexdupre

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.

Metadata

Metadata

Assignees

Labels

SWCRelated to minification/transpilation in Next.js.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions