You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you do a tns create test (only tested js, ng, and vue -- probably happens with any flavor), it will pull the TNS 8 template which has the all new cool webpack config which unfortunately does not work with the webpack that TNS 7 is looking for as the cli passed to it is different.
To Reproduce tns create test --js or tns create test --vue or tns create test --ng
Expected behavior
tns v7 should only pull a v7 template. (Tested: Tns v6 properly pulls only a v6 template).
Workaround
You can do a tns create test --template @nativescript/template-hello-world@7.0.4 to pull the latest 7.0 blank JS template. So if you lookup on npmjs you can find the latest 7.x template for tns7.
The text was updated successfully, but these errors were encountered:
Environment
Describe the bug
If you do a
tns create test
(only tested js, ng, and vue -- probably happens with any flavor), it will pull the TNS 8 template which has the all new cool webpack config which unfortunately does not work with the webpack that TNS 7 is looking for as the cli passed to it is different.Error reported is:
To Reproduce
tns create test --js
ortns create test --vue
ortns create test --ng
Expected behavior
tns v7 should only pull a v7 template. (Tested: Tns v6 properly pulls only a v6 template).
Workaround
You can do a
tns create test --template @nativescript/template-hello-world@7.0.4
to pull the latest 7.0 blank JS template. So if you lookup on npmjs you can find the latest 7.x template for tns7.The text was updated successfully, but these errors were encountered: