I am getting below error after running ionic cordova run ios --prod
command. I am using ionic 3 and want to run my on ios emulator.
Error: Debug Failure.
at typeToString (/Users/xafar/Documents/Projects/SeekThisPlace/mobile/node_modules/typescript/lib/typescript.js:28777:22)
at checkVariableLikeDeclaration (/Users/xafar/Documents/Projects/SeekThisPlace/mobile/node_modules/typescript/lib/typescript.js:44893:199)
at checkParameter (/Users/xafar/Documents/Projects/SeekThisPlace/mobile/node_modules/typescript/lib/typescript.js:43030:13)
at Object.forEach (/Users/xafar/Documents/Projects/SeekThisPlace/mobile/node_modules/typescript/lib/typescript.js:1506:30)
at checkSignatureDeclaration (/Users/xafar/Documents/Projects/SeekThisPlace/mobile/node_modules/typescript/lib/typescript.js:43171:16)
at checkConstructorDeclaration (/Users/xafar/Documents/Projects/SeekThisPlace/mobile/node_modules/typescript/lib/typescript.js:43398:13)
at checkSourceElement (/Users/xafar/Documents/Projects/SeekThisPlace/mobile/node_modules/typescript/lib/typescript.js:46712:28)
at Object.forEach (/Users/xafar/Documents/Projects/SeekThisPlace/mobile/node_modules/typescript/lib/typescript.js:1506:30)
at checkClassDeclaration (/Users/xafar/Documents/Projects/SeekThisPlace/mobile/node_modules/typescript/lib/typescript.js:45765:16)
at checkSourceElement (/Users/xafar/Documents/Projects/SeekThisPlace/mobile/node_modules/typescript/lib/typescript.js:46779:28)