-
-
Notifications
You must be signed in to change notification settings - Fork 197
[@next] tns create TestApp --ng (or --tsc) takes too long #2299
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
Comments
Not sure template is best place to fix it, what if we have another plugin with postinstall script that do npm install? |
I am not sure that it is a good practice to call |
It's not common practice to have |
@rosen-vladimirov CLI calls |
@tzraikov thanks for the explanation. I agree that our TypeScript template must have TypeScript as devDependency. However there's one thing that concerns me - in version 2.4.0 of NativeScript CLI, the issue is not reproducible, but the template there does not have TypeScript as dependency. So something in CLI's master is causing the slowness and maybe (just maybe) the current fix is hiding some other issue. |
@rosen-vladimirov I agree, this could be possible. AFAIK we changed the way how project templates are installed and we removed npm2 dependencies. I would suspect those changes. However, this is not necessary an issue. |
Steps:
Result: It takes 60+ sec.
Notes: This issue does not exist in {N} 2.4.0 official release
The text was updated successfully, but these errors were encountered: