Unable to create a nuxt project on Raspberry Pi 4
I have tried to create a nuxt project on my raspberry pi and was unable to do so.
OS: Ubuntu Server 24.04
Architecture: aarch64
Error log 1: https://dpaste.org/AW5OZ
Error log 2: https://dpaste.org/qxBrD
2 Replies
Hi @WizZard. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
I'm sorry you're experiencing issues creating a Nuxt project on your Raspberry Pi 4 (Ubuntu Server 24.04, aarch64). Based on the error message:
This indicates a low-level failure, likely related to a native binary or incompatibility with your hardware architecture (ARM64/aarch64).
From the official Nuxt installation documentation, Nuxt requires Node.js 20.x or newer, and recommends using an even-numbered LTS version. However, there is no explicit mention of support or known issues for ARM64 (aarch64) platforms like the Raspberry Pi 4 in the provided knowledge sources. The documentation does mention that for optimal setup, you should use an even-numbered Node.js version and that WSL can help with Windows performance, but nothing specific to ARM or Raspberry Pi platforms is covered Nuxt 4.x Installation Guide.
Additionally, there are no reports or solutions in the knowledge sources regarding "Illegal instruction" errors or successful Nuxt installations on Raspberry Pi or ARM64 Linux.
Summary:
The knowledge sources do not contain enough information to provide a definitive solution for running Nuxt on a Raspberry Pi 4 (aarch64). The error you are seeing may be due to incompatibility with native dependencies or binaries that do not support ARM64. You may want to check for ARM64 compatibility of all dependencies, try a different Node.js version (preferably the latest LTS), or search for community discussions outside the provided sources. If you continue to encounter issues, consider opening an issue on the Nuxt GitHub repository with details about your environment and error logs for more targeted help. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
The knowledge sources do not contain enough information to provide a definitive solution for running Nuxt on a Raspberry Pi 4 (aarch64). The error you are seeing may be due to incompatibility with native dependencies or binaries that do not support ARM64. You may want to check for ARM64 compatibility of all dependencies, try a different Node.js version (preferably the latest LTS), or search for community discussions outside the provided sources. If you continue to encounter issues, consider opening an issue on the Nuxt GitHub repository with details about your environment and error logs for more targeted help. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
<@321370635584536576> Kapa.ai is still learning and improving, please let me know how I did by reacting below.