liyinchigithub / Charles2Postman

将Charles抓包文件,转为支持导入postman文件格式
Apache License 2.0
83 stars 22 forks source link

解析发生错误 #4

Closed YongHuiBai closed 4 years ago

YongHuiBai commented 4 years ago

[2020-07-09T12:02:53.960] [INFO] default - 返回文件数组列表:.DS_Store,Untitled.chlsj [2020-07-09T12:02:53.967] [INFO] default - [ 'File/.DS_Store', 'File/Untitled.chlsj' ] undefined:1

SyntaxError: Unexpected token in JSON at position 0 at JSON.parse () at /Users/bai/Desktop/Charles2Postman/index.js:2:10903 at Array.forEach () at Object.getFilesName (/Users/bai/Desktop/Charles2Postman/index.js:2:10422) at Object. (/Users/bai/Desktop/Charles2Postman/index.js:2:18214) at Module._compile (internal/modules/cjs/loader.js:1200:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10) at Module.load (internal/modules/cjs/loader.js:1049:32) at Function.Module._load (internal/modules/cjs/loader.js:937:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)

liyinchigithub commented 4 years ago

已修复 请下载V1.3 或 pull下

https://github.com/liyinchigithub/Charles2Postman/releases/tag/V1.3

liyinchigithub commented 4 years ago

image