Skip to content
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

解包报错:SyntaxError: Unexpected end of input #2

Open
dbgee opened this issue Oct 24, 2023 · 0 comments
Open

解包报错:SyntaxError: Unexpected end of input #2

dbgee opened this issue Oct 24, 2023 · 0 comments

Comments

@dbgee
Copy link

dbgee commented Oct 24, 2023

发表 Issue 前请仔细阅读以下内容:

  1. 如果你是要反馈 bug, 请按以下模板书写 Issue;
  2. 如果你遇到的是 Node.js 使用问题, 请尽可能依赖搜索引擎解决问题;
  3. 遇到包依赖问题,请联系对应项目;
  4. 任何对某类小程序包的适配问题都应提供 wxapkg 程序包,否则直接 Close 处理;
  5. 提交前请确认 wxapkg 程序包版本不小于 v0.6vv_20180111_fbi (直接用文本编辑器打开 wxapkg包搜索 v0.6vv 或 v0.5vv 即可查到,注意版本大小主要比较的是日期), 旧版本不提供支持, 相关 Issue 直接 Close 处理;
  6. 直接分包和直接处理含插件的包两个功能暂不支持, 请勿重复发表 Issue, 新样例可在已存在的 Issue 下提出;
  7. 请不要在其他 Issue 下发表与该 Issue 无关的回复, 否则将有可能被删除。

模板内容如下:

程序执行命令(可选):
>node wuWxapkg.js ..\_-2143229075_70.wxapkg
程序执行错误信息(如果反馈是抛出异常的错误,必填):

Splitting "C:\Users\godman\Desktop\pentest\_-2143229075_70\app-service.js" done.
C:\Users\godman\Desktop\pentest\wxappUnpacker-main\node_modules\vm2\lib\transformer.js:82
                throw e;
                ^`

vm.js:2
_C
  ^

SyntaxError: Unexpected end of input
    at makeNiceSyntaxError (C:\Users\godman\Desktop\pentest\wxappUnpacker-main\node_modules\vm2\lib\transformer.js:41:16)
    at transformer (C:\Users\godman\Desktop\pentest\wxappUnpacker-main\node_modules\vm2\lib\transformer.js:80:8)
    at VM.run (C:\Users\godman\Desktop\pentest\wxappUnpacker-main\node_modules\vm2\lib\vm.js:491:16)
    at C:\Users\godman\Desktop\pentest\wxappUnpacker-main\wuWxss.js:186:16
    at C:\Users\godman\Desktop\pentest\wxappUnpacker-main\wuLib.js:80:8
    at agent (C:\Users\godman\Desktop\pentest\wxappUnpacker-main\wuLib.js:54:14)
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)

Node.js v18.14.0

程序结果错误信息(如果反馈不是抛出异常的错误, 必填, 请尽可能详细描述):

Splitting "C:\Users\godman\Desktop\pentest\_-2143229075_70\app-service.js" done.
C:\Users\godman\Desktop\pentest\wxappUnpacker-main\node_modules\vm2\lib\transformer.js:82
                throw e;
                ^`

vm.js:2
_C
  ^

SyntaxError: Unexpected end of input
    at makeNiceSyntaxError (C:\Users\godman\Desktop\pentest\wxappUnpacker-main\node_modules\vm2\lib\transformer.js:41:16)
    at transformer (C:\Users\godman\Desktop\pentest\wxappUnpacker-main\node_modules\vm2\lib\transformer.js:80:8)
    at VM.run (C:\Users\godman\Desktop\pentest\wxappUnpacker-main\node_modules\vm2\lib\vm.js:491:16)
    at C:\Users\godman\Desktop\pentest\wxappUnpacker-main\wuWxss.js:186:16
    at C:\Users\godman\Desktop\pentest\wxappUnpacker-main\wuLib.js:80:8
    at agent (C:\Users\godman\Desktop\pentest\wxappUnpacker-main\wuLib.js:54:14)
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)

Node.js v18.14.0

程序包(你所要解压的程序包地址, 可为网盘链接, 也可直接上传[上传前请先打包]. 必填):

其他附加内容:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant