Problems when trying to emulate ios

When trying to run ionic cordova emulate ios , i get the following message “Error: tsconfig: Cannot read file ‘/Users/catalin/VetLab/platforms/ios/cordova/tsconfig.json’: ENOENT: no such file or directory, open ‘/Users/catalin/VetLab/platforms/ios/cordova/tsconfig.json’.” Does anyone know what this means and how can i get it fixed?

I think you have accidently deleted your tsconfig.json file from root of your project. Create it and add following contents in it.

  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "declaration": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "lib": [
    "module": "es2015",
    "moduleResolution": "node",
    "sourceMap": true,
    "target": "es5"
  "include": [
  "exclude": [
  "compileOnSave": false,
  "atom": {
    "rewriteTsconfig": false
1 Like