Closed Goddard closed 1 year ago
add to your path in .bashrc
it is that is how i can execute it and use 'which node' in order to provide you the full path.
This problem seems unrelated to ffmpeg-static
, but rather to your nvm installation, so I'm going to close it. Sorry.
The node install.js
command specified in package.json
as the install script (generated by build-package.js
) expects node
to be in your path, which should always be the case with a functioning Node.js installation, even when using nvm.
ffmpeg-static version
whatever the latest from npm
Node.js version
16.20.0
operating system and/or environment
Manjaro host with ubutnu docker image No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.5 LTS Release: 20.04 Codename: focal
What happened?
npm install --save ffmpeg-static npm ERR! command failed npm ERR! command sh -c -- node install.js npm ERR! /bin/bash: node: command not found
I am using nvm and it appears it can't find node.
which node /root/.nvm/versions/node/v16.20.0/bin/node