muyik

Results 2 issues of muyik

使用命令安装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....

![image](https://github.com/user-attachments/assets/68c66cee-8566-4890-aedf-ebe992fa001e) 但是本地使用nodejszhi xing执行是正常的, whistle中脚本是这样的 `const protobuf = require("/usr/local/lib/node_modules/protobufjs"); const lz4 = require('/usr/local/lib/node_modules/lz4'); exports.handleWebSocket = async (ws,connect) => { const res = await connect(); ws.on('message', (data) => { res.send(data) console.log('client send');...