# Ionic 2 Build cannot determine the module for comError

**URL:** <https://forum.ionicframework.com/t/ionic-2-build-cannot-determine-the-module-for-comerror/67976>\
**Category:** ionic-v3\
**Created:** [October 23, 2016, 11:13pm UTC](https://forum.ionicframework.com/t/ionic-2-build-cannot-determine-the-module-for-comerror/67976 "2016-10-23T23:13:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rickdana](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rickdana/32/107112_2.png) [@rickdana](https://forum.ionicframework.com/u/rickdana)\
**Post date:** [October 23, 2016, 11:13pm UTC](https://forum.ionicframework.com/t/ionic-2-build-cannot-determine-the-module-for-comerror/67976/1 "2016-10-23T23:13:33Z")

</div>

Hello When trying to build my projet I have this error in my console

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/4/6/4691be6901a9f2bd48d6f7d75b75f3c06079c369.png)

here is my package.json

```
{
  .....
  "scripts": {
    "build": "ionic-app-scripts build",
    "watch": "ionic-app-scripts watch",
    "serve:before": "watch",
    "emulate:before": "build",
    "deploy:before": "build",
    "build:before": "build",
    "run:before": "build"
  },
  "dependencies": {
    "@angular/common": "^2.0.0",
    "@angular/compiler": "^2.0.0",
    "@angular/compiler-cli": "^0.6.2",
    "@angular/core": "^2.0.0",
    "@angular/forms": "^2.0.0",
    "@angular/http": "^2.0.0",
    "@angular/platform-browser": "^2.0.0",
    "@angular/platform-browser-dynamic": "^2.0.0",
    "@angular/platform-server": "^2.0.0",
    "ionic-angular": "^2.0.0-rc.0",
    "ionicons": "^3.0.0",
    "@ionic/storage": "^1.0.3",
    "ionic-native": "^2.0.3",
    "rxjs": "^5.0.0-beta.12",
    "zone.js": "^0.6.21"
  },
  "devDependencies": {
    "@ionic/app-scripts": "latest",
    "typescript": "^2.0.3"
  },
  "description": "occazstreetV2: An Ionic project",
  "cordovaPlugins": [
    "cordova-plugin-device",
    "cordova-plugin-console",
    "cordova-plugin-whitelist",
    "cordova-plugin-splashscreen",
    "cordova-plugin-statusbar",
    "ionic-plugin-keyboard"
  ],
  "cordovaPlatforms": []
}

```

any solutions??

---

<div class="post-metadata">

**Author:** ![rickdana](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rickdana/32/107112_2.png) [@rickdana](https://forum.ionicframework.com/u/rickdana)\
**Post date:** [October 23, 2016, 11:29pm UTC](https://forum.ionicframework.com/t/ionic-2-build-cannot-determine-the-module-for-comerror/67976/2 "2016-10-23T23:29:34Z")

</div>

got the problem fix . by clearing my old app.component from the projet. It was an upgrade issue from ionic 2 alpha to RC0
