Before following the below steps, please make sure you have already migrated the app to the latest version using Neutrinos Studio's auto migrate feature. |
Perform these steps if you are migrating your app from Neutrinos Studio 6.0.x to 6.1.0.
If you are migrating your app from previous releases of Neutrinos Studio, perform the migration steps mentioned in the below topics (based on the version from which you are upgrading) before you proceed with this topic.
For example, If you are migrating your app from Neutrinos Studio version 5.0.4 to version 6.1.0, perform migration steps mentioned in migrate from 5.x to 6.0.0 and then perform the steps mentioned below.
Package.json file: If you migrate your app to Neutrinos Studio version 6.1.0, dependencies such as npm and Angular packages will be deleted from the package.json file. This happens only if you have manually added these dependencies without using the Plugins Manager.
Make sure that you add these dependencies to your app using the Plugins Manager.
Angular version is updated from 7.2.3 to 8.2.0.
To support Angular version 8.2.0 in Neutrinos Studio, perform the following updates in your app:
In this version of Neutrinos Studio, this package is not supported as Angular 8 has dropped support for this package. Therefore, there are a couple of breaking changes that may affect end apps mainly around the use of observables, map, import statements, timeout, etc. To see a complete list of breaking changes that could occur when removing this package, refer the dropping-the-compatibility-layer section.
Flex layout is upgraded from version 7.0.0-beta.19 to 8.0.0-beta.26.
Node.js version
The node.js version is updated to support versions between 10.9.x and 12.x.x.
If your app supports mobile platforms, and if you are migrating from previous versions of Neutrinos studio, perform the following steps:
JavaScript |
var fs = require('fs'); |
From your app directory, open the package.json file with any editor and replace "app-prepare": "cordova prepare", with "app-prepare": "gulp create-www && cordova prepare".
This migration step creates a www folder in your app directory when you trigger a mobile build from the Neutrinos Studio.