Terminal outputting: manpath: can't set the locale; make sure $LC_* and $LANG are correct

Viewed 1995

While trying to run a specific bash script, I get the following output:

manpath: can't set the locale; make sure $LC_* and $LANG are correct
Running node v4.8.5 (npm v2.15.11)
manpath: can't set the locale; make sure $LC_* and $LANG are correct

The content of the script is the following:

 #!/bin/bash

. ~/.nvm/nvm.sh
cd /home/desktop/folder/subfolder && nvm exec 4.8.5 node app.js

If I write a small bash script, using echo or the like, the error doesn't occure. I haven't seen this error before. What is the cause? Other answers make it seem like an encoding error. I am using US.UTF-8.

1 Answers
Related