Hi,
I’ve performed the migration from Cordova to Ionic described in:https://ionicframework.com/docs/appflow/cookbook/phonegap-build-migration
and getting the next error when trying to perform: ionic cordova build android
[ERROR] Cannot perform build.
** Since you’re using the custom project type, you must provide the**
** ionic:build npm script so the Ionic CLI can build your project.**
Below is the ionic info output. Any idea?
Many thanks,
Amit
Ionic:
Ionic CLI : 5.4.16 (C:\Users\amitnv\AppData\Roaming\npm\node_modules\ionic)
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0, ios 5.1.1
Cordova Plugins : no whitelisted plugins (19 plugins total)
Utility:
cordova-res : not installed
native-run : 1.0.0
System:
Android SDK Tools : 1.0 (D:\AndroidSDK)
NodeJS : v12.16.3 (D:\Program Files (x86)\nodejs\node.exe)
npm : 6.14.5
OS : Windows 10
1 post - 1 participant