NPM install dies without specific error



  • I'm trying to set up a fresh install on ubuntu 16.04. When I run npm install --production it gets most of the way through then returns to the command prompt. There isn't a specific error message. There is the last few lines with the --verbose option

    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/async-2aad2c13/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/async-764ba965/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/ajv-8b9bff9d/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/async-167e03bf/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/jquery-79cb596d/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/bootstrap-b821320b/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/templates.js-b2e27437/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/chart.js-f20b5871/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/nodebb-theme-vanilla-17628c5a/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/natural-e1123474/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/nodebb-theme-persona-1d67a2ff/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/moment-5dbf49d3/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/caniuse-lite-aeb4996f/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/less-b262ad6d/node_modules
    npm verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/lodash-e328d4c7/node_modules
    Killed ..] - extract:lodash: verb gentlyRm don't care about contents; nuking /opt/nodebb/node_modules/.staging/lodash-e328d4c7/node_modul


  • Global Moderator

    This could be due to your machine not having enough memory. Try increasing the swap size.



  • Thanks I bumped the memory. seems to work now.


Log in to reply
 

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.