Cant install ffmpeg
`Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\rexal\Desktop\stuff\scripts> npm install ffmpeg-binaries
[email protected] install C:\Users\rexal\Desktop\stuff\scripts\node_modules\decompress-tarxz\node_modules\lzma-native node-pre-gyp install --fallback-to-build && node node_modules/rimraf/bin.js build
node-pre-gyp ERR! Tried to download(404): https://node-pre-gyp.addaleax.net/lzma-native/lzma_native-v3.0.8-node-v67-win32-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp ERR! Tried to download(undefined): https://node-pre-gyp.addaleax.net/lzma-native/lzma_native-v3.0.8-node-v67-win32-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI, unknown) (falling back to source compile with node-gyp) Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation WWarning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilationarning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
WWarning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
arning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
Traceback (most recent call last):
File "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 16, in gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:345:16)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\Users\rexal\Desktop\stuff\scripts\node_modules\decompress-tarxz\node_modules\lzma-native\binding-v3.0.8-node-v67-win32-x64\lzma_native.node" "--module_name=lzma_native" "--module_path=C:\Users\rexal\Desktop\stuff\scripts\node_modules\decompress-tarxz\node_modules\lzma-native\binding-v3.0.8-node-v67-win32-x64"
gyp ERR! cwd C:\Users\rexal\Desktop\stuff\scripts\node_modules\decompress-tarxz\node_modules\lzma-native
gyp ERR! node -v v11.2.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js
configure --fallback-to-build --module=C:\Users\rexal\Desktop\stuff\scripts\node_modules\decompress-tarxz\node_modules\lzma-native\binding-v3.0.8-node-v67-win32-x64\lzma_native.node --module_name=lzma_native --module_path=C:\Users\rexal\Desktop\stuff\scripts\node_modules\decompress-tarxz\node_modules\lzma-native\binding-v3.0.8-node-v67-win32-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build && node node_modules/rimraf/bin.js build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\rexal\AppData\Roaming\npm-cache_logs\2018-11-17T18_12_19_720Z-debug.log`
check that https://www.npmjs.com/package/windows-build-tools
I have the same error on Debian Stretch. Any solution?
Hi Zach (@Hackzzila),
I have a similar issue on Raspbian Stretch (running on Raspberry Pi 3): pi@raspberrypi-deepspeach:~/.node-red $ npm install ffmpeg-binaries
[email protected] install /home/pi/.node-red/node_modules/lzma-native node-pre-gyp install --fallback-to-build && node node_modules/rimraf/bin.js build node-pre-gyp ERR! Tried to download(404): https://node-pre-gyp.addaleax.net/lzma-native/lzma_native-v3.0.8-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp ERR! Tried to download(undefined): https://node-pre-gyp.addaleax.net/lzma-native/lzma_native-v3.0.8-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
Would be nice if you could have a look at it ... P.S. I 'assume' that the arm64 build should be downloaded, but I'm not sure ?
Thanks ! Bart
bump, same issue
Had the same issue. After a couple hours of troubleshooting, I found a solution. The problem here is the Node version of the Current release, meaning Node v11.0.0 and above. Here are the steps:
- Uninstall Node.js v11 (Current)
- Download Node.js v10 (LTS) from their website
- Install Node.js v10 (LTS)
- Try executing
npm i ffmpeg-binariesagain, optionally global install-g
Should be working fine now. That's all I had to do.
Had the same issue. After a couple hours of troubleshooting, I found a solution. The problem here is the Node version of the Current release, meaning Node v11.0.0 and above. Here are the steps:
- Uninstall Node.js v11 (Current)
- Download Node.js v10 (LTS) from their website
- Install Node.js v10 (LTS)
- Try executing
npm i ffmpeg-binariesagain, optionally global install-gShould be working fine now. That's all I had to do.
Not working ;/
@tomo92s I am pretty certain it is a Node version issue. Can you run node, then run process.versions? It should return an object with versions. the modules property needs to be on 64. If you have 67, it means you are most likely on Node v11. Downgrade your Node version to v10.
@JustFabiolous I have installed v10.15.0 and still cant install ffmpeg-binaries
This reason FFMPEG,FFPLAY etc. files download from https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-latest-win64-static.zip but this website doesn't work(( FFMPEG working only for linux