lightproxy icon indicating copy to clipboard operation
lightproxy copied to clipboard

安装了whsile.script 但是使用的时候报错

Open muyik opened this issue 2 years ago • 0 comments

使用命令安装whistle.script npm i -g whistle.script --registry=https://registry.npm.taobao.org 然后打开lightproxy,点击插件中的scrpit 报错 TypeError: Cannot destructure property 'getReceiver' of 'options.wsParser' as it is undefined. at module.exports (/usr/local/lib/node_modules/whistle.script/lib/wsServer.js:19:11) at module.exports (/usr/local/lib/node_modules/whistle.script/lib/server.js:31:3) at /Users/dk/Library/Application Support/LightProxy/files/node/node_modules/whistle/lib/plugins/load-plugin.js:1159:9 at Server. (/Users/dk/Library/Application Support/LightProxy/files/node/node_modules/hagent/lib/get-server.js:37:7) at Object.onceWrapper (events.js:421:28) at Server.emit (events.js:315:20) at emitListeningNT (net.js:1352:10) at processTicksAndRejections (internal/process/task_queues.js:79:21)

image

muyik avatar Apr 28 '22 03:04 muyik