Skip to content

TypeError: Cannot read property 'direction' of undefined #106

@kites222

Description

@kites222

[email protected] start
node ./bin/slither

[Application][DEBUG] You are running slither-server 0.0.12-dev
[Application][INFO] Starting the server in dev at port 8080...
[Server][INFO] Listening for connections
C:\Users\BOB\Downloads\slither-master\slither-master\src\server.coffee:81
params = url.parse(conn.upgradeReq.url, true).query;
^

TypeError: Cannot read properties of undefined (reading 'url')
at Server.module.exports.Server.handleConnection (C:\Users\user\Downloads\slither-master\slither-master\src\server.coffee:59:40)
at WebSocketServer.emit (node:events:518:28)
at WebSocketServer.completeUpgrade (C:\Users\user\Downloads\slither-master\slither-master\node_modules\ws\lib\websocket-server.js:438:5)
at WebSocketServer.handleUpgrade (C:\Users\user\Downloads\slither-master\slither-master\node_modules\ws\lib\websocket-server.js:346:10)
at Server.upgrade (C:\Users\user\Downloads\slither-master\slither-master\node_modules\ws\lib\websocket-server.js:119:16)
at Server.emit (node:events:518:28)
at onParserExecuteCommon (node:_http_server:952:14)
at onParserExecute (node:_http_server:854:3)

Node.js v22.17.0

C:\Users\user\Downloads\slither-master\slither-master>npm start

[email protected] start
node ./bin/slither

[Application][DEBUG] You are running slither-server 0.0.12-dev
[Application][INFO] Starting the server in dev at port 8080...
[Server][INFO] Listening for connections

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions