Next.js Discord

Discord Forum

SWC Error Running on Raspberry Pi

Unanswered
American Curl posted this in #help-forum
Open in Discord
American CurlOP
I'm trying to run NextJS development mode on my Raspberry Pi, but I keep getting the following error:
 âš  Trying to load next-swc for target triple [object Object],[object Object],[object Object],[object Object], but this target is not supported
 ⨯ Failed to load SWC binary for linux/arm, see more info here: https://nextjs.org/docs/messages/failed-loading-swc


I've tried different node versions, yarn, and NPM. I even tried the docs linked in the error, but hit this error:
 âš  Disabling SWC Minifer will not be an option in the next major version. Please report any issues you may be experiencing to https://github.com/vercel/next.js/issues
 âš  Trying to load next-swc for target triple [object Object],[object Object],[object Object],[object Object], but this target is not supported
 ⨯ Failed to load SWC binary for linux/arm, see more info here: https://nextjs.org/docs/messages/failed-loading-swc


I was going to submit an issue as the message indicates, but the template seems to discourage reporting this there since I wouldn't be able to provide a link to code that reproduces the issue (as it builds fine on my laptop)

Is there something special I need to do for building/running on a Pi?

0 Replies