Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Executable node/r not found on Linux #5455

@ldrick

Description

@ldrick

Environment

Knex version: 2.4.1
Database + version: any
OS: Ubuntu

Bug

  1. Running knex on Linux fails pretty early with the same behavior of this bug: Knex breaking on migrate: /usr/bin/env: ‘node\r’: No such file or directory #4614 . If I manually change within node_modules/.bin/knex from CRLF to LF it runs smoothly.

  2. Error message
    /usr/bin/env: ‘node\r’: No such file or directory error Command failed with exit code 127.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions