Skip to content

Illegal instruction on latest version when installing or building on debian 12 #14148

@ssebastianoo

Description

@ssebastianoo

Describe the bug

After running npm i (same error using bun) on raspbian I get this error:

seb@sebpi ~/test> npm i

> [email protected] prepare
> svelte-kit sync || echo ''

Illegal instruction

Reproduction

  • Create a sveltekit demo (npx sv create test)
  • run npm i

Logs

seb@sebpi ~/test> npm i

> [email protected] prepare
> svelte-kit sync || echo ''

Illegal instruction


added 2 packages, removed 1 package, and audited 212 packages in 5s

58 packages are looking for funding
  run `npm fund` for details

3 low severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

System Info

System:
    OS: Linux 6.6 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (4) arm64 Cortex-A72
    Memory: 2.78 GB / 3.70 GB
    Container: Yes
    Shell: 3.7.1 - /usr/bin/fish
  Binaries:
    Node: 24.5.0 - ~/.local/share/nvm/v24.5.0/bin/node
    npm: 11.5.1 - ~/.local/share/nvm/v24.5.0/bin/npm
    pnpm: 9.10.0 - ~/.local/share/pnpm/pnpm
    bun: 1.2.8 - ~/.bun/bin/bun
  npmPackages:
    @sveltejs/adapter-auto: ^6.0.0 => 6.0.2 
    @sveltejs/kit: ^2.22.0 => 2.27.3 
    @sveltejs/vite-plugin-svelte: ^6.0.0 => 6.1.1 
    svelte: ^5.25.0 => 5.38.0 
    vite: ^7.0.4 => 7.1.1

Severity

blocking an upgrade

Additional Information

No response

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