I got error when i run below command
D:\kdIonic\ejohri>ionic cordova build android --prod
[INFO] Running app-scripts build: --prod --platform android --target cordova
[11:10:07] build prod started …
[11:10:08] clean started …
[11:10:08] clean finished in 1 ms
[11:10:08] copy started …
[11:10:08] ngc started …
[11:10:25] ngc finished in 17.80 s
[11:10:25] preprocess started …
[11:10:25] deeplinks started …
Error: The RegExp to find the DeepLinkConfigToken did not return valid data
at BuildError.Error (native)
at new BuildError (D:\kdIonic\ejohri\node_modules@ionic\app-scripts\dist\ut
il\errors.js:16:28)
at D:\kdIonic\ejohri\node_modules@ionic\app-scripts\dist\preprocess.js:18:2
1
My Ionic info is like this
D:\kdIonic\ejohri>ionic info
cli packages: (D:\kdIonic\ejohri\node_modules)
@ionic/cli-utils : 1.12.0
ionic (Ionic CLI) : 3.12.0
global packages:
cordova (Cordova CLI) : 7.0.1
local packages:
@ionic/app-scripts : 2.1.4
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.6.1
System:
Android SDK Tools : 26.1.1
Node : v6.10.3
npm : 5.4.2
OS : Windows 7
Misc:
backend : legacy