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

NativeScript v4 is not using the v4 of the app templates during project creation #4096

Closed
DimitarTachev opened this issue Nov 5, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@DimitarTachev
Copy link
Contributor

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 4.2.4

To Reproduce

  1. npm i -g nativescript@4
  2. tns create newApp
  3. Check the package.json of the newly created app. The core modules and runtimes should be compatible with the CLI (v4) but both of them are installed with their latest versions (v5).
@DimitarTachev DimitarTachev added this to the 5.0.1 milestone Nov 5, 2018
@DimitarTachev DimitarTachev self-assigned this Nov 5, 2018
@endarova endarova self-assigned this Nov 6, 2018
@endarova
Copy link
Contributor

endarova commented Nov 6, 2018

If you pass template version for template v2 it is not respected. Example: tns create testApp --template tns-template-hello-world@4.2 should create project with core modules and runtimes 4.2.x. The created template is with core modules and runtimes 5.0.0.

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

No branches or pull requests

3 participants