码迷,mamicode.com
首页 > 其他好文 > 详细

ionic cordova build 成功,ionic cordova build --prod 报错

时间:2018-10-24 20:24:51      阅读:708      评论:0      收藏:0      [点我收藏+]

标签:native   ...   node   finish   ogr   each   rac   ova   error   


[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

 

ionic cordova build 成功,ionic cordova build --prod 报错

标签:native   ...   node   finish   ogr   each   rac   ova   error   

原文地址:https://www.cnblogs.com/hanxu-wang/p/9844926.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!