production APK gives error Uncaught Error: Cannot find module “.”
after app launch and display only splash screen for ionic 3
Can you please paste here the whole error or a screenshot at least. Thank you
vendor.js:1 Uncaught Error: Cannot find module “.”
at vendor.js:1
at vendor.js:1
at Object. (vendor.js:1)
at r (vendor.js:1)
at Object.336 (main.js:1)
at r (vendor.js:1)
at window.webpackJsonp (vendor.js:1)
at main.js:1
Did you figure it out? I am having the same issue on my Ionic 3 project.
It is not the source code since I rolled back to an old version that I know for sure built before and I couldn’t build it either.
If I roll back Typescript to 2.6 the production build is successful. However I cannot do that because certain cordova plugins require newer Typescript. However I know for certain that the same project built correctly just a a week ago with Typescript 2.9.1
I am not sure what is changed since. It has to be something in a new ionic version.