Trying to add @ffmpeg-installer/ffmpeg
as a dependency but I’m running out of space with just these:
"dependencies": {
"express": "^4.12.4",
"@ffmpeg-installer/ffmpeg": "^1.0.0"
}
From the logs it looks like it’s skipping the optional dependencies of other OS and archs and just trying to install the 50MB linux-x64
binary but I’m still getting a no space left on device
error:
node v6.9.1, npm 3.10.8
Installing...
npm ERR! tar.unpack untar error /app/.npm/@ffmpeg-installer/linux-x64/4.0.0/package.tgz
npm ERR! tar.unpack untar error /app/.npm/@ffmpeg-installer/linux-x64/4.0.0/package.tgz
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/[email protected] (node_modules/@ffmpeg-installer/ffmpeg/node_modules/@ffmpeg-installer/darwin-x64):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/[email protected]: wanted {"os":"darwin","arch":"x64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/[email protected] (node_modules/@ffmpeg-installer/ffmpeg/node_modules/@ffmpeg-installer/win32-ia32):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/[email protected]: wanted {"os":"win32","arch":"ia32"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/[email protected] (node_modules/@ffmpeg-installer/ffmpeg/node_modules/@ffmpeg-installer/linux-ia32):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/[email protected]: wanted {"os":"linux","arch":"ia32"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/[email protected] (node_modules/@ffmpeg-installer/ffmpeg/node_modules/@ffmpeg-installer/win32-x64):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @ffmpeg-installer/[email protected]: wanted {"os":"win32","arch":"x64"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @ffmpeg-installer/[email protected] (node_modules/@ffmpeg-installer/linux-x64):
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
I’ve read that each space is limited to 128MB so why is this install failing? Is there anything I can do to get it to install successfully?
Hi weavermedia,
I just tried to install it on a fresh container and it worked fine… perhaps you have other things installed? Would you mind sending the link of your project?
1 Like
Thanks @etamponi - it installed on a fresh container for me too 
I had attempted to install a couple of other versions prior to this and they must have still been cached in the container.
I’ll try the obvious before I jump to the forum next time 
Thanks to you!
Upon install, we try to clean up old dependencies, and you discovered that we leave some around 
We’ll ship the fix today or tomorrow
i’m having this same problem on https://gomix.com/#!/project/wry-scraper
node v6.9.1, npm 3.10.8
3:21 PM
Installing…
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/moment/2.17.1/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/terraformer/1.0.7/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/toposort-class/1.0.1/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/moment/2.17.1/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/terraformer-wkt-parser/1.1.2/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/bluebird/3.4.7/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/terraformer/1.0.7/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/wkx/0.2.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/cross-env/3.1.4/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/dottie/1.1.1/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/generic-pool/2.4.2/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/inflection/1.10.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/sequelize/3.29.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/depd/1.1.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/lodash/4.12.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/shimmer/1.1.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/sqlite3/3.1.8/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/terraformer-wkt-parser/1.1.2/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/terraformer/1.0.7/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/cross-env/3.1.4/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/bluebird/3.4.7/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/moment/2.17.1/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/dottie/1.1.1/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/bluebird/3.4.7/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/toposort-class/1.0.1/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/wkx/0.2.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/moment/2.17.1/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/wkx/0.2.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/sequelize/3.29.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/depd/1.1.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/moment-timezone/0.5.11/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/moment-timezone/0.5.11/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/generic-pool/2.4.2/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/lodash/4.12.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/sqlite3/3.1.8/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/terraformer/1.0.7/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/moment/2.17.1/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/dottie/1.1.1/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/toposort-class/1.0.1/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/sqlite3/3.1.8/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/terraformer/1.0.7/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/moment/2.17.1/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/bluebird/3.4.7/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/wkx/0.2.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/sequelize/3.29.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/cross-env/3.1.4/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/terraformer-wkt-parser/1.1.2/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/bluebird/3.4.7/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/wkx/0.2.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/sequelize/3.29.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/terraformer/1.0.7/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/lodash/4.12.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/cross-env/3.1.4/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/toposort-class/1.0.1/package.tgz
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
3:21 PM
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/terraformer):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/toposort-class):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/terraformer-wkt-parser):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/bluebird):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/wkx):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/cross-env):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/dottie):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/generic-pool):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/inflection):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/sequelize/node_modules/depd):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/validator):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/sequelize/node_modules/lodash):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/shimmer):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/moment-timezone):
3:21 PM
npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, write
3:21 PM
npm ERR! Linux 4.4.0-45-generic
3:21 PM
npm ERR! argv “/home/nvm/.nvm/versions/node/v6.9.1/bin/node” “/home/nvm/.nvm/versions/node/v6.9.1/bin/npm” "install"
3:21 PM
npm ERR! node v6.9.1
3:21 PM
npm ERR! npm v3.10.8
3:21 PM
npm ERR! code ENOSPC
3:21 PM
npm ERR! errno -28
3:21 PM
npm ERR! syscall write
3:21 PM
3:21 PM
npm ERR! nospc ENOSPC: no space left on device, write
3:21 PM
npm ERR! nospc This is most likely not a problem with npm itself
3:21 PM
npm ERR! nospc and is related to insufficient space on your system.
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/terraformer-wkt-parser/1.1.2/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/moment-timezone/0.5.11/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
npm ERR! tar.unpack untar error /tmp/.npm/validator/5.7.0/package.tgz
3:21 PM
3:21 PM
npm ERR! Please include the following file with any support request:
3:21 PM
npm ERR! /app/npm-debug.log
Hi Joshua,
unfortunately in your case the problem is that the unpacked dependencies take too much space in node_modules
, it’s not a caching issue… and so it can only be solved by increasing your disk space 
We will evaluate case by case, but we cannot give you an ETA on when/if we will expand your disk space. However, we are exploring solutions to solve this problem without needing additional space for dependencies.
In the meantime, please take a look at your package.json to see if there is some dependency that you can remove
I removed unused packages and the packages I was attempting to install when i noticed the error. I’m still getting the error.
We should be able to provide a quick fix soon 
Hi Joshua,
can you give it a spin again? We switched filesystems on the containers, and now you should be able to run npm install

I really appreciate your help resolving the issue. I can install packages again.