-
-
Notifications
You must be signed in to change notification settings - Fork 197
CLI 2.5.0 Breaks Template Versioning #2493
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
Let me know if you need anything further. Thanks, |
Hi @nraboy, |
So I have a few issues with this:
Including @tjvantoll since he was involved the first time I reported something like this. I personally don't think either of the proposed solutions are good solutions. |
This has come up a few times now, so I went ahead and requested that we revert this change: #2513. |
Closing in favor of: #2513 |
From @nraboy on February 5, 2017 14:56
Please, provide the details below:
With CLI version 2.4.1 I was able to execute a command like the following to get a specific version of a NativeScript template:
This allowed me to have a very predictable template formatted to my preference. However, after updating to CLI 2.5.0, providing a version appears to be broken. For example, the same command above will create a project that is missing the App_Resources directory which results in build errors. However, the following works as long as I don't mind the latest template:
To be clear, I don't want the latest template, I want a specific version.
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
No I haven't. I verified this as a real problem by experiencing the results. It is also starting to be mentioned by participants taking my NativeScript course.
Tell us about the problem
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with:
The CLI version 2.4.1 was working and 2.5.0 is not.
Please tell us how to recreate the issue in as much detail as possible.
Using the CLI, execute the following:
The above will succeed, but be missing an app/App_Resources directory, essential when it comes to building.
Using the CLI, execute the following:
The above will succeed and include the app/App_Resources directory. I need a specific template version, not latest.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
No code, this is all CLI generation.
Copied from original issue: NativeScript/NativeScript#3580
The text was updated successfully, but these errors were encountered: