Skip to content

/usr/bin/env: node: No such file or directory #243

@guillaumeinnov24

Description

@guillaumeinnov24

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions