反编译异常:
function(env,dd,global){$gwxc=0;var root={“tag”:“wx-page”};root.children=[]
^
SyntaxError: Unexpected token ‘(’
function(env,dd,global){
$gwxc=0;var root={
"tag":"wx-page"};root.children=[]
^
SyntaxError: Unexpected token '('
at makeNiceSyntaxError (F:\桌面\wechatMiniAppReverse-main\wechatMiniAppReverse-main\2.second\node_modules\vm2\lib\transformer.js:41:16)
at transformer (F:\桌面\wechatMiniAppReverse-main\wechatMiniAppReverse-main\2.second\node_modules\vm2\lib\transformer.js:84:8)
at VM.run (F:\桌面\wechatMiniAppReverse-main\wechatMiniAppReverse-main\2.second\node_modules\vm2\lib\vm.js:491:16)
这种错误一般就是小程序进行了升级,网上一般流传的wxappUnpacker-master包已经无法进行解析了,并且wxappUnpacker-master包开发大神已经停止了进行更新维护,那么这种问题需要如何进行处理呢?才能够编译出最初的wxml以及对应wxss文件呢?
参考文章:反编译小程序详细教程,处理各种异常报错