-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function(env,dd,global){$gwxc=0;var root={"tag":"wx-page"};root.children=[] #21
Comments
解决了吗 |
+1 |
3 similar comments
+1 |
+1 |
+1 |
please contact to blogger |
把包发我看看吧 |
@xuedingmiaojun 解决了吗 |
+1 |
大佬 解决了? |
解决了吗? |
遇到相同的问题!没有找到解决方案。 定位到报错位置\node_modules\vm2\lib\main.js:932:13,vm.Script类的实例包含预编译脚本,构造方法参数scriptCode是要编译的JS代码,后一个参数是可选的配置对象。报错提示说要编译的JS代码出现语法错误。如果分析不错,说明脚本没有适配这种异常类型。 script = new vm.Script(scriptCode, { PS 另一种十分相似的报错可以通过更换脚本解决,但仅适用部分小程序。https://blog.csdn.net/wq57885/article/details/101113017 |
已解决 |
大佬怎么解决的? |
有解了吗,有的包能成功解,有的报错 |
怎么解决啊 大佬 |
大佬披星戴月搞定的,可能免费告诉你吗? |
大佬怎么解决的啊 |
return function(env,dd,global){$gwxc=0;var root={"tag":"wx-page"};root.children=[]
^^^^^^
SyntaxError: Illegal return statement
at new Script (vm.js:83:7)
at VM.run (C:\Users\DELL\node_modules\vm2\lib\main.js:834:13)
at z (C:\Users\DELL\Desktop\wxappUnpacker-master\wuWxml.js:399:16)
at z (C:\Users\DELL\Desktop\wxappUnpacker-master\wuRestoreZ.js:280:21)
at catchZGroup (C:\Users\DELL\Desktop\wxappUnpacker-master\wuRestoreZ.js:16:2)
at catchZ (C:\Users\DELL\Desktop\wxappUnpacker-master\wuRestoreZ.js:21:33)
at getZ (C:\Users\DELL\Desktop\wxappUnpacker-master\wuRestoreZ.js:280:3)
at wu.get.code (C:\Users\DELL\Desktop\wxappUnpacker-master\wuWxml.js:382:9)
at ioLimit.runWithCb (C:\Users\DELL\Desktop\wxappUnpacker-master\wuLib.js:103:14)
at agent (C:\Users\DELL\Desktop\wxappUnpacker-master\wuLib.js:66:23)
The text was updated successfully, but these errors were encountered: