env: node\r: No such file or directory
See original GitHub issueDo you want to request a feature or report a bug?
a bug.
What is the current behaviour?
When I run preact build
in version 3.0.2
I’m receiving the error below:
env: node\r: No such file or directory
If the current behaviour is a bug, please provide the steps to reproduce.
yarn add preact-cli@3.0.2
yarn preact build
preact.config.js
https://gist.github.com/gabrielrtakeda/d9a2f75d91d5eb302295eb51eff8d104
What is the expected behaviour?
To build properly.
If this is a feature request, what is motivation or use case for changing the behaviour?
Please mention other relevant information.
Please paste the results of preact info
here.
preact info
in 3.0.2
also gives this error. Follow below the preact info
using 3.0.1
Environment Info:
System:
OS: macOS 10.15.6
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Binaries:
Node: 14.11.0 - /var/folders/40/hmnm06wd6dv_q5pklkjdh5dc0000gn/T/yarn--1600377853618-0.2735555090153792/node
Yarn: 1.22.5 - /var/folders/40/hmnm06wd6dv_q5pklkjdh5dc0000gn/T/yarn--1600377853618-0.2735555090153792/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.11.0/bin/npm
Browsers:
Chrome: 85.0.4183.102
Firefox: 77.0.1
Safari: 13.1.2
npmPackages:
preact: ^10.4.8 => 10.4.8
preact-cli: ^3.0.1 => 3.0.1
preact-render-to-string: ^5.1.10 => 5.1.10
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:13 (7 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 >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 >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 >env: node: No such file or directory - Laracasts
Hi,. When running the command: npm install. I get the error: env: node: No such file or directory. Could someone help me please?...
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 FreeTop 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
Top GitHub Comments
That’s due the CRLF line endings on the latest deploy, sorry. It’s been noted.
You can downgrade to v3.0.1 (
"preact-cli": "3.0.1",
) or do something along the lines of the following:published 3.0.3