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
562 stars 93 forks source link

npm install issues #50

Open csvdf opened 2 years ago

csvdf commented 2 years ago

Following the readme guidelines trying to install c4builder via npm i -g install c4builder I am running into issue with zlib, has anyone else encountered this on mac?

Error: npm timing command:i Completed in 72965ms npm ERR! code 127 npm ERR! path /usr/local/Cellar/nvm/0.37.2/versions/node/v17.4.0/lib/node_modules/c4builder/node_modules/zlib npm ERR! command failed npm ERR! command sh -c node-waf clean || true; node-waf configure build npm ERR! sh: node-waf: command not found npm ERR! sh: node-waf: command not found npm timing npm Completed in 73370ms

sidneydemoraes commented 2 years ago

Apparently, zLib is now native to NodeJs so you could just uninstall it and try again.

However, when I try to do it I get the graphviz not in the system error even if I install it manually. I hope you dont get that same error. GLuck.

tiilikainen commented 2 years ago

This error happens to me too. Looking forward to a fix. Would love to use this project.

vichu commented 1 year ago

Happens to me as well. Would appreciate it if someone can fix this.