Raspberry Pi can't find SWC package
Unanswered
European anchovy posted this in #help-forum
European anchovyOP
When running a nextjs server on my raspberry pi (in a docker container) I get an error as soon as nextjs launches:
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?
⨯ Failed to download swc package from https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-14.1.0.tgzFollowing 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?