Error on npm install: "no space left on device"


#1

Whenever I try to add the “request” lib in package.json, I get the following error:
Is one of your Servers at HDD limit?

[npm-cache] [INFO] [npm] running [npm install]...
5:53 PM
npm
5:53 PM
 ERR! tar.unpack untar error /app/.npm/request/2.75.0/package.tgz
npm ERR! Linux 4.4.8-fc
5:53 PM
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: ENOSPC: no space left on device, write
    at Error (native)
5:53 PM
shell.js: internal error
5:53 PM
Error: Command failed: "/app/.nodejs/bin/node" /tmp/shelljs_0577e5fa6f2bdfae468c
    at checkExecSyncError (child_process.js:464:13)
    at Object.execSync (child_process.js:504:13)
    at execSync (/app/.nodejs/lib/node_modules/npm-cache/node_modules/shelljs/src/exec.js:77:11)
    at Object._exec (/app/.nodejs/lib/node_modules/npm-cache/node_modules/shelljs/src/exec.js:210:12)
    at Object.exec (/app/.nodejs/lib/node_modules/npm-cache/node_modules/shelljs/src/common.js:182:23)
    at CacheDependencyManager.installDependencies (/app/.nodejs/lib/node_modules/npm-cache/cacheDependencyManagers/cacheDependencyManager.js:39:13)
    at CacheDependencyManager.loadDependencies (/app/.nodejs/lib/node_modules/npm-cache/cacheDependencyManagers/cacheDependencyManager.js:139:18)
    at startManager (/app/.nodejs/lib/node_modules/npm-cache/index.js:106:15)
    at /app/.nodejs/lib/node_modules/npm-cache/node_modules/async/lib/async.js:125:13
    at Array.forEach (native)
5:53 PM
Install completed with errors

#2

Okay problem is solved now. But I don’t know why. It was just working after some time.


#3

Yeah, it will have been full and then resolved. Sorry for the interruption, but I’m glad it’s sorted now.