adrianvlupu / C4-Builder

This is a documentation builder. You feed it .md and .puml and it exports a site, pdf, or a markdown with navigation.
https://adrianvlupu.github.io/C4-Builder/
MIT License
563 stars 93 forks source link

Error create new project #17

Open sebastienhouzet opened 4 years ago

sebastienhouzet commented 4 years ago

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

brugos commented 4 years ago

Similar error for me:

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

node v12.16.3 c4builder@0.2.7

darrenmeehan commented 4 years ago

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

damianesteban commented 4 years ago

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 commented 4 years ago

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

erzz commented 2 years ago

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 😢

adamclerk commented 2 years ago

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

mrevoir commented 1 year ago

Refer to #66