humanify icon indicating copy to clipboard operation
humanify copied to clipboard

Unexpected token : in JSON at position 426

Open AtzaMan opened this issue 1 year ago • 0 comments

After running the following command :

npm start -- --key="sk-_your-token_" -o deobfuscated.js obfuscated.js

I get the following error:

SyntaxError: Unexpected token : in JSON at position 426 at JSON.parse (<anonymous>) at codeToVariableRenames (file:///C:/Users/Alexander/Documents/GitHub/humanify/src/openai/openai.ts:76:59) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///C:/Users/Alexander/Documents/GitHub/humanify/src/openai/openai.ts:21:23 at async Promise.all (index 4) at async mapPromisesParallel (file:///C:/Users/Alexander/Documents/GitHub/humanify/src/openai/run-promises-in-parallel.ts:17:5) at async client.createChatCompletion.model (file:///C:/Users/Alexander/Documents/GitHub/humanify/src/openai/openai.ts:20:5) at async file:///C:/Users/Alexander/Documents/GitHub/humanify/src/index.ts:68:25

AtzaMan avatar Apr 04 '24 07:04 AtzaMan