question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing @next/swc-freebsd-x64 package

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
alexduprecommented, May 13, 2022

It works, thank you!

2reactions
Brooooooklyncommented, May 3, 2022

@alexdupre I’ll fix it

Read more comments on GitHub >

github_iconTop Results From Across the Web

@next/swc-freebsd-x64 | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
@next/swc-freebsd-x64 - npm
Start using @next/swc-freebsd-x64 in your project by running `npm i @next/swc-freebsd-x64`. There are 3 other projects in the npm registry ...
Read more >
Next failed to load SWC binary - Stack Overflow
This package makes it easy to install required Visual C++ ARM64 binaries when the X64 Redistributable is installed on an ARM64 device. Permalink ......
Read more >
How to fix failed to load SWC binary NextJS - Tutorial + Tips
Solution 1 · Remove node_modules directory and package-lock.json · Run npm i to install the dependecncies.
Read more >
@swc/html-freebsd-x64 - npm Package Health Analysis | Snyk
Is @swc/html-freebsd-x64 safe to use? The npm package @swc/html-freebsd-x64 was scanned for known vulnerabilities and missing license, and no ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found