[15:45:34] ngc started ...
Error: Metadata version mismatch for module E:/ionic_project/wechat_restaurant/n
ode_modules/@ionic-native/core/decorators.d.ts, found version 4, expected 3
at StaticSymbolResolver.getModuleMetadata (E:\ionic_project\wechat_restauran
t\node_modules\@angular\compiler\bundles\compiler.umd.js:23979:34)
at StaticSymbolResolver._createSymbolsOf (E:\ionic_project\wechat_restaurant
\node_modules\@angular\compiler\bundles\compiler.umd.js:23765:46)
at StaticSymbolResolver.getSymbolsOf (E:\ionic_project\wechat_restaurant\nod
e_modules\@angular\compiler\bundles\compiler.umd.js:23746:14)
at E:\ionic_project\wechat_restaurant\node_modules\@angular\compiler\bundles
\compiler.umd.js:22528:30
at Array.forEach (<anonymous>)
at extractProgramSymbols (E:\ionic_project\wechat_restaurant\node_modules\@a
ngular\compiler\bundles\compiler.umd.js:22527:79)
at AotCompiler.compileAll (E:\ionic_project\wechat_restaurant\node_modules\@
angular\compiler\bundles\compiler.umd.js:22225:47)
at CodeGenerator.codegen (E:\ionic_project\wechat_restaurant\node_modules\@a
ngular\compiler-cli\src\codegen.js:30:14)
at Function.NgTools_InternalApi_NG_2.codeGen (E:\ionic_project\wechat_restau
rant\node_modules\@angular\compiler-cli\src\ngtools_api.js:61:30)
at E:\ionic_project\wechat_restaurant\node_modules\@ionic\app-scripts\dist\a
ot\aot-compiler.js:182:73
[15:45:42] copy finished in 8.29 s
原文地址:https://www.cnblogs.com/hanxu-wang/p/9844926.html