question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] env: node\r: No such file or directory on MacOS

See original GitHub issue

Reporting a bug?

React static version 7.1.0 and 7.2.0 When react-static start command has been launched error:

env: node\r: No such file or directory
error Command failed with exit code 127.

occured.

Environment

 System:
    OS: macOS 10.14
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
    Memory: 855.09 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.8.0 - ~/.nvm/versions/node/v12.8.0/bin/node
    Yarn: 1.17.3 - ~/.nvm/versions/node/v12.8.0/bin/yarn
    npm: 6.10.2 - ~/.nvm/versions/node/v12.8.0/bin/npm
  Browsers:
    Chrome: 76.0.3809.132
    Firefox: 66.0.3
    Safari: 12.0

of course include any other package versions here if relevant.

Steps to Reproduce the problem

Base your steps off of any freshly installed react-static template!

  1. update react-static to version 7.1.0 or 7.2.0
  2. run command react-static start

Expected Behavior

react-static command should successfully run project on MacOs

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:8
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
krzysztof-pyrzyk-ahcommented, Sep 5, 2019

I’ve just tried 7.2.2. All works fine 🎉

Thanks!

3reactions
SleeplessBytecommented, Sep 5, 2019

I have applied the commit to the repository. I’ll try to publish tomorrow (7.2.2)

Read more comments on GitHub >

github_iconTop Results From Across the Web

env: node: No such file or directory in mac - Stack Overflow
I get this error running npm start through PyCharm on Mac. For that the answer is to start PyCharm ...
Read more >
Fixing "env: node : No such file or directory" on mac for an ...
If you install an npm package using yarn and you get this error it means that the package author is using windows line...
Read more >
how to avoid env: node: No such file or directory #1702 - GitHub
What steps did you perform? I commented the loading nvm script in shell to make my terminal loads faster, then load nvm whenever...
Read more >
env: node: No such file or directory when using nvm - YouTrack
Found a temporary workaround: just manually append $PATH with node from nvm in debug configuration environment variables. While that works, it is of...
Read more >
"/usr/bin/env: 'node': No such file or directory" on terminal startup
I just updated to 20.04 and every time I open a terminal /usr/bin/env: 'node': No such file or directory shows at the very...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found