简体   繁体   中英

Illegal instruction at "npm install * "

I am trying to install packages by tutorial

But command npm install --save express body-parser connect-multiparty sqlite3 bluebird path umzug bcrypt returns me error:

Illegal instruction] \\ rollbackFailedOptional: verb npm-session 8c141c478c582dd

I tried npm config rm proxy npm config rm https-proxy and reboot system

  • npm version 6.13.7
  • node version 13.9.0
  • OS: Debian 10

the following commands:

npm config rm proxy
npm config rm https-proxy

is to remove proxy settings from global NPM settings. Only use if u are using NPM behind a proxy server.

Try the follow:

npm cache clean --force

This removes the NPM cache. So, try again to run the installation of each of the packages ...

npm install --save express
npm install --save body-parser
npm install --save sqlite3
....

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM