8000 Illegal instruction error - Raspberry PI 4 aarch64 · Issue #64 · unrs/unrs-resolver · GitHub
[go: up one dir, main page]

Skip to content
Illegal instruction error - Raspberry PI 4 aarch64 #64
@adasek

Description

@adasek

Hi, recently unrs-resolver got into my Nuxt3 stack that I'm running via Gitlab CI on Raspberry PI 4. Some steps in my pipeline began to emit Illegal instruction error. I traced the problem to unrs-resolver.

Minimal example

I created a minimal example that uses current v1.5.0 of unrs-resolver

Expected output:

Resolved: {
  path: 'node_modules/unrs-resolver/index.js',
  packageJsonPath: 'node_modules/unrs-resolver/package.json'
}

Output on Raspberry Pi 4 (aarch64)

Illegal instruction

System info

I tested on two Raspberry Pi 4 systems:

Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

and a clean installation of Raspberry Pi OS (64-bit), fully updated

Linux rpi4 6.12.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.20-1+rpt1~bpo12+1 (2025-03-19) aarch64 GNU/Linux

both with node version v22.14.0

Rpi4 Features in /proc/cpuinfo:
Features : fp asimd evtstrm crc32 cpuid

The code runs without error on Raspberry Pi 5

Let me know if you need any additional info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0