[Bug] env: node\r: No such file or directory on MacOS
See original GitHub issueReporting 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!
- update react-static to version 7.1.0 or 7.2.0
- run command react-static start
Expected Behavior
react-static command should successfully run project on MacOs
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:8 (6 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve just tried 7.2.2. All works fine 🎉
Thanks!
I have applied the commit to the repository. I’ll try to publish tomorrow (7.2.2)