AngularFirebase / angular-electron

Angular + Electron
152 stars 106 forks source link

Metadata version mismatch for module... app.module.ts found version 3 expected 4 #2

Open dspivak152 opened 6 years ago

dspivak152 commented 6 years ago

Hi, i clones the angular-electron project and run npm install, after that i am getting the error : Metadata version mismatch for module... app.module.ts found version 3 expected 4

My package.json { "name": "angular-electron", "version": "0.0.0", "license": "MIT", "main": "main.js", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", "electron": "electron .", "electron-build": "ng build --prod && electron ." }, "private": true, "dependencies": { "@angular/animations": "^5.0.0", "@angular/common": "^5.0.0", "@angular/compiler": "^5.0.0", "@angular/core": "^5.0.0", "@angular/forms": "^5.0.0", "@angular/http": "^5.0.0", "@angular/platform-browser": "^5.0.0", "@angular/platform-browser-dynamic": "^5.0.0", "@angular/router": "^5.0.0", "angular-svg-round-progressbar": "^1.1.0", "bulma": "^0.5.3", "core-js": "^2.4.1", "rxjs": "^5.5.2", "zone.js": "^0.8.14" }, "devDependencies": { "@angular/cli": "1.4.1", "@angular/compiler-cli": "^4.2.4", "@angular/language-service": "^4.2.4", "@types/jasmine": "~2.5.53", "@types/jasminewd2": "~2.0.2", "@types/node": "~6.0.60", "codelyzer": "~3.1.1", "electron": "^1.7.6", "electron-packager": "^9.1.0", "jasmine-core": "~2.6.2", "jasmine-spec-reporter": "~4.1.0", "karma": "~1.7.0", "karma-chrome-launcher": "~2.1.1", "karma-cli": "~1.0.1", "karma-coverage-istanbul-reporter": "^1.2.1", "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.1.2", "ts-node": "~3.2.0", "tslint": "~5.3.2", "typescript": "~2.3.3" } }

Thank you very much

minhthuan274 commented 6 years ago

I had same issue

wwlib commented 6 years ago

I ran into the same error and was able to get the example running by updating to Angular 6.

This pull request details the changes: https://github.com/AngularFirebase/angular-electron/pull/6

A working version is in this repo/branch (forked from AngularFirebase/angular-electron) : https://github.com/wwlib/angular-electron/tree/angular6

suresh2018 commented 6 years ago

me too face this issue

dczemina commented 6 years ago

@suresh2018, does the issue occur while running npm install or while running npm run electron?