Next.js Discord

Discord Forum

Raspberry Pi can't find SWC package

Unanswered
European anchovy posted this in #help-forum
Open in Discord
European anchovyOP
When running a nextjs server on my raspberry pi (in a docker container) I get an error as soon as nextjs launches:
⨯ Failed to download swc package from https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-14.1.0.tgz
Following the link, it looks like the SWC package isn't available for ARM archs. Is there a way to prevent the server from trying to download it?

1 Reply

European anchovyOP
update: I found that https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.2.4.tgz is a valid endpoint. is there any way to point nextjs towards this path instead, or a location where i can save the tar to?