Closed mackelito closed 2 years ago
running nx run client:compodoc:json
does give success
> nx run client:compodoc:json
Compodoc v1.1.11
———————————————————————————————————————————————
> NX SUCCESS Running target "compodoc" succeeded
but not really what I wanted :P
I cannot reproduce the error.
What nrwl/workspace
version and which OS are you using?
Is client an app or lib?
Hi, I've come to a similar issue.
$run web-spotify-shared-view:compodoc --watch
> nx run web-spotify-shared-view:compodoc --watch
Compodoc v1.1.14
———————————————————————————————————————————————
> NX SUCCESS Running target "compodoc" succeeded
This command has a problem with a watch.
This generates a HTML folder in dist, but not watching.
Meanwhile, json
option doesn't generate any output, but the watch works fine.
I'm using a @nrwl/workspace: 12.5.8
.
I'm trying it to generate a lib docs
we are using "@nrwl/workspace": "12.2.0"
I did a rewrite using the Nx Devkit for the latest version. During this I discovered and solved some problems. The initial problem of @mackelito seems to be related to the older Compodoc version 1.1.11 that had some trouble with the new Typescript features.
Maybe you can update @compodoc/compodoc
& @twittwer/compodoc
to the latest version.
I hope all issues are solved now. If not, please open an issue - It won't take as long as this time 🤞
nx add @twittwer/compodoc
works finenx g @twittwer/compodoc:config client --workspaceDocs
seems to work fine...but when running
nx run client:compodoc
this happens...