Missing @next/swc-freebsd-x64 package
See original GitHub issueVerify 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:
- Created a year ago
- Reactions:3
- Comments:8 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It works, thank you!
@alexdupre I’ll fix it