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

Needed to install in project - not globally #7

Open
mjclemente opened this issue Jul 28, 2020 · 0 comments
Open

Needed to install in project - not globally #7

mjclemente opened this issue Jul 28, 2020 · 0 comments

Comments

@mjclemente
Copy link

Thanks for this project and the accompanying blog post!

Perhaps this is an issue with my npm setup, but using the scaffolding failed when I installed this package globally.

That is, when I ran npm install @nestjsplus/dyn-schematics -g and then tried to use it in my project, via nest g -c @nestjsplus/dyn-schematics dynmod database, the result was an error:

Error: Collection "@nestjsplus/dyn-schematics" cannot be resolved.

After installing it as a dev dependency, it worked as expected.

Figured I would pass this along, in the event that it is an issue, or anyone else encounters it.

Best!

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

No branches or pull requests

1 participant