Decompilation exception:
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)
This kind of error usually means that the small program has been upgraded. The wxappUnpacker-master package generally circulated on the Internet can no longer be parsed, and the wxappUnpacker-master package development master has stopped updating and maintaining it. So how should this problem be solved? How can I compile the original wxml and corresponding wxss files?
Reference article: Detailed tutorial on decompiling small programs, handling various exceptions and error reports