DeepLinkConfigToken did not return valid data

Short description of the problem:

when running the production build, it exits at deeplinks…

What behavior are you expecting?

To be able to build a production release

Steps to reproduce:
run ionic cordova build browser --prod --verbose

insert any relevant code between the above and below backticks
Which version are you using?
I’ve tried several versions…right now I’m using versions of devDependencies below:

“devDependencies”: {
"@ionic/app-scripts": “^2.0.1-201707121621”,
"@ionic/cli-plugin-cordova": “1.5.0-alpha.18371e18”,
"@ionic/cli-plugin-ionic-angular": “1.4.0-alpha.18371e18”,
“typescript”: “2.3.4”
},
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Here’s the console output after running the build command:

[16:21:50] build prod started …
[16:21:50] clean started …
[16:21:50] clean finished in less than 1 ms
[16:21:50] copy started …
[16:21:50] ngc started …
[16:21:59] ngc finished in 9.48 s
[16:22:00] preprocess started …
[16:22:00] deeplinks started …
[WARN] Error occurred during command execution from a CLI plugin (ionic/cli-plugin-cordova).
[DEBUG] !!! ERROR ENCOUNTERED !!!
Error: The RegExp to find the DeepLinkConfigToken did not return valid data
[DEBUG] Error: The RegExp to find the DeepLinkConfigToken did not return valid data
at new BuildError
(C:\Users\me\WebstormProjects\app\node_modules@ionic\app-scripts\dist\util\errors.js:16:28)
at C:\Users\me\WebstormProjects\app\node_modules@ionic\app-scripts\dist\preprocess.js:18:21

Try downgrading angular to 4.1.3?

Duplicate post, was fixed here: [WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins may be out of date

Yes, this is my post about how to fix it