Skip to content

Illegal Instruction While Installing Prettier using NPM #849

@iamrecursion

Description

@iamrecursion

Running the following crashes with an illegal instruction:

npm install --save-dev --exact --no-bin-links prettier

This is using the following versions:

  • npm: 6.14.5
  • node: v12.18.2

I was attempting to use --no-bin-links because there’s an issue with the symlink step during the standard install (npm install --save-dev --exact prettier):

npm ERR! code ENOENT
npm ERR! syscall symlink
npm ERR! path ../prettier/bin-prettier.js
npm ERR! dest /root/test/node_modules/.bin/prettier
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, symlink '../prettier/bin-prettier.js' -> '/root/test/node_modules/.bin/prettier'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 
Output from `dmesg` for the crash

               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 stub syscall 383
               105 illegal instruction at 0x57293260: f2 0f 51 c9 8d 47 0c 89 
               112 stub syscall 383
               112 stub syscall 383
               112 stub syscall 383
               112 stub syscall 383
               112 stub syscall 383
               112 stub syscall 383

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