Skip to content

Bug: /usr/bin/env: ‘node\r’: No such file or directory #394

@christopher-besch

Description

@christopher-besch

The file /home/chris/.config/yarn/global/node_modules/live-server/live-server.js seems to be using Windows line endings (\r\n).
Running dos2unix on this file fixes the issue.
I installed live-server with yarn global add live-server and yarn version 1.22.17.

Software details

  • Command line used for launching live-server: live-server
  • OS: Gentoo Base System release 2.7
  • Browser (if browser related):
  • Node.js version: v14.19.0
  • live-server version: 1.2.2

This might be a problem with yarn on Gentoo.
Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions