C4-Builder icon indicating copy to clipboard operation
C4-Builder copied to clipboard

Error create new project

Open sebastienhouzet opened this issue 4 years ago • 7 comments

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

sebastienhouzet avatar Jun 08 '20 07:06 sebastienhouzet

Similar error for me:

$ yarn global add c4builder $ c4builder new env: node\r: No such file or directory

node v12.16.3 [email protected]

brugos avatar Jun 10 '20 22:06 brugos

I believe I also hit this issue, I worked around it by creating the directories manually first.

darrenmeehan avatar Jun 12 '20 14:06 darrenmeehan

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.

damianesteban avatar Aug 10 '20 23:08 damianesteban

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 😄 .

damianesteban avatar Aug 10 '20 23:08 damianesteban

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 😢

erzz avatar Jun 16 '22 14:06 erzz

enabling autoclrf within the local git repository seems to resolve the issue when running the executable from the local repository on mac. fyi.

adamclerk avatar Jun 23 '22 16:06 adamclerk

Refer to #66

mrevoir avatar Dec 21 '22 16:12 mrevoir