Closed trusktr closed 5 years ago
Oh, it's because src/cli.js
begins with #!/usr/bin/env js
. Um, shouldn't that be #!/usr/bin/env node
? 😄
Huh, well, now it looks like Node 12 breaks things: https://github.com/gulpjs/gulp/issues/2324
❯ npx leafdoc -t node_modules/leafdoc/templates/basic -o documentation.html src/**/*.ts
primordials is not defined
Got around the primordials is not defined
problem by running
npm i -g n
sudo n 11
to downgrade to Node 11.
I'm trying to run
leafdoc
cli, and I get an errorenv: js: No such file or directory
:Any idea about the error?
I must be a bad luck magnet with doc tools: every doc tool I try has some issue preventing me from getting started!