MichaelPolla / VESS

Visual Evaluation of Soil Structure (VESS)
GNU General Public License v3.0
3 stars 1 forks source link

Can't build a production version #132

Closed MichaelPolla closed 6 years ago

MichaelPolla commented 6 years ago

ionic cordova build android|ios produces the following error :

Error: Metadata version mismatch for module /Users/mike/Dropbox/Dev/__PROJETS/VESS/app/node_modules/@ionic-native/core/decorators.d.ts, found version 4, expected 3 at StaticSymbolResolver.getModuleMetadata (/Users/mike/Dropbox/Dev/__PROJETS/VESS/app/node_modules/@angular/compiler/bundles/compiler.umd.js:24474:34) at StaticSymbolResolver._createSymbolsOf (/Users/mike/Dropbox/Dev/__PROJETS/VESS/app/node_modules/@angular/compiler/bundles/compiler.umd.js:24260:46) at StaticSymbolResolver.getSymbolsOf (/Users/mike/Dropbox/Dev/__PROJETS/VESS/app/node_modules/@angular/compiler/bundles/compiler.umd.js:24241:14) at /Users/mike/Dropbox/Dev/__PROJETS/VESS/app/node_modules/@angular/compiler/bundles/compiler.umd.js:23023:30 at Array.forEach (<anonymous>) at extractProgramSymbols (/Users/mike/Dropbox/Dev/__PROJETS/VESS/app/node_modules/@angular/compiler/bundles/compiler.umd.js:23022:79) at AotCompiler.compileAll (/Users/mike/Dropbox/Dev/__PROJETS/VESS/app/node_modules/@angular/compiler/bundles/compiler.umd.js:22720:47) at CodeGenerator.codegen (/Users/mike/Dropbox/Dev/__PROJETS/VESS/app/node_modules/@angular/compiler-cli/src/codegen.js:30:14) at Function.NgTools_InternalApi_NG_2.codeGen (/Users/mike/Dropbox/Dev/__PROJETS/VESS/app/node_modules/@angular/compiler-cli/src/ngtools_api.js:61:30) at Object.doCodegen (/Users/mike/Dropbox/Dev/__PROJETS/VESS/app/node_modules/@ionic/app-scripts/dist/aot/codegen.js:6:51)

MichaelPolla commented 6 years ago

Possible solution : https://forum.ionicframework.com/t/ionic-native-core-found-version-4-expected-3/112667/2