Do not use package manager bin to execute compodoc
jogelin opened this issue · comments
Usually in Nx repo, we create scripts in package.json
to execute targets like:
...
"start": "nx serve",
"build": "nx build",
"test": "nx test",
"e2e": "nx e2e",
"compodoc": "nx compodoc", <-- here the issue
...
But if you specify the script compodoc
, and then generate your doc using yarn compodoc my-app
, the executor will re-execute yarn compodoc
behind and it will result to:
@twittwer Would it be possible to not use getPackageManagerCommand()
but directly the binary in the node_modules
?
Thx for the issue, as I use npm the issue doesn't occur 🙈
Version 1.6.6
executes compodoc directly from the node_modules