C4-Builder
C4-Builder copied to clipboard
Error create new project
After install, i create new project
c4builder new
And i have this message:
_ _ _ _ _ _ ___| || | | |__ _ _(_) | __| | ___ _ __ / __| || |_| '_ \| | | | | |/ _
|/ _ \ '|
| (|__ | |) | || | | | (| | / |
_| || |./ _,|||_,|_|_|
Blow up your software documentation writing skills
This will create a new folder with the name of the project ? Project Name (node:42774) ExperimentalWarning: The fs.promises API is experimental `
$ node -v v10.15.1
Similar error for me:
$ yarn global add c4builder $ c4builder new env: node\r: No such file or directory
node v12.16.3 [email protected]
I believe I also hit this issue, I worked around it by creating the directories manually first.
I believe I also hit this issue, I worked around it by creating the directories manually first.
What directories did you create manually? I'm still getting this error:
env: node\r: No such file or directory
after I create the directories.
I am on macOS and realized the issue was Windows line encodings. I pulled down the repo, installed dos2unix
and ran the following command:
dos2unix **/*
Then I had to manually create the folders and it finally worked 😄 .
A long time later - and this is still an issue?
➜ c4builder new
env: node\r: No such file or directory
Fresh installation - just wanted to try it out 😢
enabling autoclrf within the local git repository seems to resolve the issue when running the executable from the local repository on mac. fyi.
Refer to #66