Skip to content

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

@dmp42

Description

@dmp42

Hi,

Running Ubuntu 14.04 and nodejs 0.10.25~dfsg2-2ubuntu1

The node binary is called nodejs (and there is no node binary) which makes gulp fail https://github.com/gulpjs/gulp/blob/master/bin/gulp.js#L1

The following would fix it (unfortunately, there is no simpler hack AFAIK):


#!/bin/sh
':' //; exec "$(command -v nodejs || command -v node)" -- "$0" "$@"

What do you think?

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