mp-unpack icon indicating copy to clipboard operation
mp-unpack copied to clipboard

WXSS还原不了,vm.js:2 _C

Open qq239574 opened this issue 4 years ago • 7 comments

vm.js:2 _C ^^ SyntaxError: Unexpected end of i nput at new Script (vm.js:83:7) at VM.run (C:\Users\Administrator\AppData\Local\Pro grams\mp-unpack
resources\tool\node_modules\vm2\lib\main.js:834:13) at wu.get.code (C:\U sers\Administrator\AppData\Local\Programs\mp-unpack\resources\tool\wuWxss.js:243:27) at ioLimit.runWithCb (C:\Users\Administrator\AppData\Local\Programs\mp-unpack\resources\tool\wuLib.js:95:14) at agent (C:\Users\Administrat or\AppData\Local\Programs\mp-unpack\resources\tool\wuLib.js:64:23) at FSReqWrap.readFileAfterClos e [as oncomplete] (i nternal/fs/read_file_cont ext.js:53:3)

qq239574 avatar Jul 21 '20 11:07 qq239574

这个问题是wxss解析报错导致,暂时还没解决------------------ 原始邮件 ------------------ 发件人: "qq239574"<[email protected]> 发送时间: 2020年7月21日(星期二) 晚上7:35 收件人: "xuedingmiaojun/mp-unpack"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [xuedingmiaojun/mp-unpack] WXSS还原不了,vm.js:2 _C (#5)

xdmjun avatar Jul 21 '20 22:07 xdmjun

+1

jianqiao0313 avatar Jul 22 '20 02:07 jianqiao0313

+1 我也遇见了这个情况

Fizzyi avatar Jul 22 '20 02:07 Fizzyi

+1 求解决方法

GurglingY avatar Jul 25 '20 14:07 GurglingY

如果不考虑css样式的话,可以在wuWxss.js278行直接return。可以正常解包 https://github.com/xuedingmiaojun/mp-unpack/issues/4#issuecomment-662363512

jianqiao0313 avatar Jul 25 '20 14:07 jianqiao0313

+1 求解决方法

chic2008 avatar Nov 12 '20 16:11 chic2008

咋样了????????如何解决的

wuokong avatar Mar 10 '22 03:03 wuokong