Updated to cli 3.4.0

Error
Close

`Preformatted text`Typescript Error
Cannot find module './app.module'.
src/app/main.ts
import { AppModule } from './app.module';
Typescript Error
Cannot find module './app.component'.
src/assets/data/app.module.ts
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { MyApp } from './app.component';
import { Camera } from '@ionic-native/camera';
Typescript Error
Cannot find module '../providers/data'.
src/assets/data/app.module.ts
import { Camera } from '@ionic-native/camera';
import { Data } from '../providers/data';
import { BrowserModule } from '@angular/platform-browser';
Typescript Error
Cannot find module '@ionic/cloud-angular'.
src/assets/data/app.module.ts
import { HttpModule } from '@angular/http';
import { CloudSettings, CloudModule } from '@ionic/cloud-angular';
import { IonicStorageModule } from '@ionic/storage';
Typescript Error
Cannot find module '../providers/text-data'.
src/assets/data/app.module.ts
import { AngularFireAuthModule } from 'angularfire2/auth';
import { TextData } from '../providers/text-data';
import { Auth} from '../providers/auth';
Typescript Error
Cannot find module '../providers/auth'.
src/assets/data/app.module.ts

package.json

{
  "name": "ionic-hello-world",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
  "dependencies": {
    "@angular/common": "4.1.3",
    "@angular/compiler": "4.1.3",
    "@angular/compiler-cli": "4.1.3",
    "@angular/core": "4.1.3",
    "@angular/forms": "4.1.3",
    "@angular/http": "4.1.3",
    "@angular/platform-browser": "4.1.3",
    "@angular/platform-browser-dynamic": "4.1.3",
    "@ionic-native/badge": "^3.7.0",
    "@ionic-native/camera": "^3.11.0",
    "@ionic-native/core": "3.10.2",
    "@ionic-native/splash-screen": "3.10.2",
    "@ionic-native/status-bar": "3.10.2",
    "@ionic/storage": "2.0.1",
    "@types/matter-js": "^0.9.32",
    "angularfire2": "^4.0.0-rc0",
    "cordova-android": "^6.2.3",
    "cordova-browser": "^4.1.0",
    "cordova-plugin-app-event": "^1.2.0",
    "cordova-plugin-badge": "~0.7.4",
    "cordova-plugin-camera": "~2.4.1",
    "cordova-plugin-compat": "^1.1.0",
    "cordova-plugin-console": "1.0.5",
    "cordova-plugin-device": "1.1.4",
    "cordova-plugin-inappbrowser": "^1.7.1",
    "cordova-plugin-splashscreen": "~4.0.1",
    "cordova-plugin-statusbar": "2.2.1",
    "cordova-plugin-whitelist": "1.3.1",
    "cordova-ubuntu": "^4.3.4",
    "fabric": "^1.7.11",
    "firebase": "^4.0.0",
    "ionic": "^3.4.0",
    "ionic-angular": "3.3.0",
    "ionic-plugin-keyboard": "~2.2.1",
    "ionic2-super-tabs": "^2.5.2",
    "ionicons": "3.0.0",
    "moment": "^2.18.1",
    "rxjs": "5.4.0",
    "sw-toolbox": "3.6.0",
    "synaptic": "^1.0.10",
    "uglify-js": "^2.8.22",
    "zone.js": "^0.8.12"
  },
  "devDependencies": {
    "@ionic/app-scripts": "^1.3.7",
    "@ionic/cli-plugin-cordova": "1.4.0",
    "@ionic/cli-plugin-ionic-angular": "1.3.1",
    "@ionic/cli-plugin-proxy": "1.3.1",
    "@ionic/cli-utils": "1.4.0",
    "grunt": "^1.0.1",
    "grunt-contrib-compress": "^1.4.1",
    "grunt-contrib-uglify": "^2.3.0",
    "typescript": "~2.3.3"
  },
  "cordovaPlugins": [
    "cordova-plugin-whitelist",
    "cordova-plugin-statusbar",
    "cordova-plugin-console",
    "cordova-plugin-device",
    "ionic-plugin-keyboard",
    "cordova-plugin-splashscreen"
  ],
  "cordovaPlatforms": [],
  "description": "labbo: An Ionic project",
  "cordova": {
    "plugins": {
      "cordova-plugin-badge": {},
      "cordova-plugin-camera": {},
      "cordova-plugin-console": {},
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-statusbar": {},
      "cordova-plugin-whitelist": {},
      "ionic-plugin-keyboard": {},
      "cordova-plugin-inappbrowser": {}
    },
    "platforms": [
      "android",
      "browser"
    ]
  }
}`Preformatted text``Preformatted text`

get errors when serve

Please edit your post and use the </> button above the post input field to format your code or error message or wrap it in ``` (“code fences”) manually. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.

why I am getting this error

Post your ionic info output please.
Why did you install ionic locally?

It works now. Thanks for help

Why does it work now? What did you change? What was wrong?

I moved my app. module.ts by accident. How can I delete this Post?

You don’t so others can learn from it and not make the same mistake you made. That’s also why I asked what the cause was.