-
-
Notifications
You must be signed in to change notification settings - Fork 24
Description
@itsmeneartou commented on Fri Apr 05 2019
Description
When I try to create a new module using ng g m test
. It takes very long time and this waiting is most probably an error because creating 4-5 files should not take this long. The component created using ng g c my-component
takes almost no time.
🔬 Minimal Reproduction
The reproduction steps are simple.
-
Create new angular app using
ng new moduleCreationBug
. -
Optional: try creating a test module and check everything is fine ng g m test (In this step module gets created in no time.)
-
Now add nativescript to angular app as taught in this blog using
ng add @nativescript/schematics
-
Now try creating module again using
ng g m test2
and now it takes forever to create the module, I have never been able to create module after adding nativescript. I have to manually create the files for a module
🌍 Your Environment
Windows 10 core i5 8th Gen 8GB ram, editor:visual studio code, terminal:Integrated terminal
What I have done till now ?
I created this issue on angular-cli github page but the issue was closed there stating
@nativescript/schematics sets itself as the default and replaces all the generation schematics. This issue ideally should be raised on the NativeScript repository.