I'm new with node. I've installed npm and then npm install -g shelljs.
Then I created a .js test file with
var shell = require('shelljs'); shell.echo('hello world');
inside.
But whatever I try, when I run shjs test.js
it always comes with
/usr/bin/env: node: No such file or directory
even with an absolute path.
What do I miss?