dyn-schematics icon indicating copy to clipboard operation
dyn-schematics copied to clipboard

Needed to install in project - not globally

Open mjclemente opened this issue 4 years ago • 0 comments

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!

mjclemente avatar Jul 28 '20 19:07 mjclemente