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
Emil Tabakov edited this page Jan 4, 2019
·
2 revisions
{N} 5.0 is now available and document outlines simple steps that you need to take in order to migrate your applications! The major features and improvements it includes are listed in our release notes.
Install {N} CLI
npm un -g nativescript
npm i -g nativescript@latest
Update Android SDK
{N} 5.0 will require Android SDK 28.
You can update it with following steps:
By completing these steps your system should be updated and if you run tns doctor it should report that everything is ok and the system is set up to use latest packages. Now, it's time to update your NativeScript applications one at a time.
npm un nativescript-angular --save
npm i nativescript-angular@latest --save
./node_modules/.bin/update-app-ng-deps
npm i
Update {N} webpack (only if used in your project)
npm un nativescript-dev-webpack --save-dev
npm i nativescript-dev-webpack@latest --save-dev
./node_modules/.bin/update-ns-webpack --configs --deps
npm i
Update nativescript-ui-listview and nativescript-ui-sidedrawer (only if used in your project)
npm un nativescript-ui-listview --save
npm i nativescript-ui-listview@latest --save
npm un nativescript-ui-sidedrawer --save
npm i nativescript-ui-sidedrawer@latest --save
# If you are using the RadListView or the RadSideDrawer you will need to update all other PRO UI components if any to avoid conflicting versions of the ui-core package in iOS.