when running the command ng generate library myLibrary, the following error occurs:
Schematic "library" not found in collection "@nativescript/schematics".
Error: Schematic "library" not found in collection "@nativescript/schematics".
at SchematicEngine.createSchematic (D:\eldeebCMS\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\src\engine\engine.js:232:23)
at CollectionImpl.createSchematic (D:\eldeebCMS\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\src\engine\engine.js:69:29)
at GenerateCommand.getSchematic (D:\eldeebCMS\node_modules\@angular\cli\models\schematic-command.js:137:27)
at GenerateCommand.initialize (D:\eldeebCMS\node_modules\@angular\cli\models\schematic-command.js:45:36)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:757:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
it was working fine before setting up NativeScript
when running the command
ng generate library myLibrary
, the following error occurs:it was working fine before setting up NativeScript