When you run npm install -g single-file-cli it installs ~/.node/lib/node_modules/single-file-cli and creates a symlink for ~/.node/lib/node_modules/single-file-cli/single-file @ ~/.node/bin/single-file-cli, but when you run it you get the following error:
error: Module not found "file:///home/prurigro/.node/bin/single-file-cli-api.js".
at file:///home/prurigro/.node/bin/single-file-cli:26:44
Running ~/.node/lib/node_modules/single-file-cli/single-file works however, and creating an alias for that works as well:
alias singlefile='~/.node/lib/node_modules/single-file-cli/single-file'
When you run
npm install -g single-file-cli
it installs~/.node/lib/node_modules/single-file-cli
and creates a symlink for~/.node/lib/node_modules/single-file-cli/single-file
@~/.node/bin/single-file-cli
, but when you run it you get the following error:Running
~/.node/lib/node_modules/single-file-cli/single-file
works however, and creating an alias for that works as well: