Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Package "@twittwer/compodoc" was found but does not support schematics #81

Open
kartikjagdale opened this issue Nov 6, 2023 · 2 comments
Assignees
Labels
repro needed requires reproduction

Comments

@kartikjagdale
Copy link

Whenever I try to run

npx nx g @twittwer/compodoc:config my-app-name

I get below error

Package "@Twittwer/compodoc" was found but does not support schematics

Any Resolution to the above issue?

@kartikjagdale kartikjagdale changed the title [Bug] Package "@Twittwer/compodoc" was found but does not support schematics [Bug] Package "@twittwer/compodoc" was found but does not support schematics Nov 6, 2023
@twittwer twittwer self-assigned this Nov 7, 2023
@twittwer
Copy link
Owner

twittwer commented Nov 7, 2023

Can you provide a reproduction?

It seems to work with a clean workspace:

// create workspace (17.0.3 is latest at the moment)
npx create-nx-workspace@17.0.3 org --preset=angular --appName=app // workspace type: integrated

// create lib
npx nx g @nx/angular:library lib --directory=libs/lib --projectNameAndRootFormat=as-provided

// install plugin (1.10.0 is latest at the momement)
npm i -E -D @twittwer/compodoc@1.10.0

// generate config for app & lib
npx nx g @twittwer/compodoc:config app
npx nx g @twittwer/compodoc:config lib

@twittwer twittwer added the repro needed requires reproduction label Nov 7, 2023
@kartikjagdale
Copy link
Author

kartikjagdale commented Nov 8, 2023

@twittwer
I checked and I see that we are not using @nx/angular but we are using @nrwl/angular@14.8.7
And when I create any lib or app using this version, I think @twittwer/compodoc doesn't support its folder structure.
Hence the error - Package "@Twittwer/compodoc" was found but does not support schematics

If you use@nrwl/angular@14.8.7 and create an lib or app then this issue occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repro needed requires reproduction
Projects
None yet
Development

No branches or pull requests

2 participants