Error when running on Android (ionic build) which uses the prod build:
main.js:3644 TypeError: Cannot convert undefined or null to object
at new DateTimeFormat (native)
at intlDateFormat (http://localhost:3000/build/main.js:1:28259)
at Object.yMMMd (http://localhost:3000/build/main.js:1:28817)
at dateFormatter (http://localhost:3000/build/main.js:1:28935)
at Function.e.format (http://localhost:3000/build/main.js:11:2879)
at e.transform (http://localhost:3000/build/main.js:11:3342)
at http://localhost:3000/build/main.js:1:12330
at t.detectChangesInternal (http://localhost:3000/build/main.js:49:274)
at t.e.detectChanges (http://localhost:3000/build/main.js:9:31592)
at t.e.detectViewChildrenChanges (http://localhost:3000/build/main.js:10:169)
--------------------------------
Your system information:
Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
Ionic App Scripts Version: 0.0.36
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.1.2
Xcode version: Xcode 8.0 Build version 8A218a
Not the perfect answer… but i removed the pipes from my html pages and instead call a format method in my .ts page. In that page I construct a new static date filter, currency pipe etc…
I hadn’t tried it yet, but the ionic team just posted a blog on rc0 fixes. It updates some tooling and version in and could also fix the problem.