Skip to content

leetcode clone gives error #2

Open
@yunjiangster

Description

@yunjiangster
coding-tutorials/react-leetcode-clone/server/index.js:44
            testCaseResults.push(results[0]);
                                        ^

TypeError: Cannot read properties of null (reading '0')
    at coding-tutorials/react-leetcode-clone/server/index.js:44:41
    at PythonShell._endCallback (coding-tutorials/react-leetcode-clone/server/node_modules/python-shell/index.js:254:20)
    at terminateIfNeeded (coding-tutorials/react-leetcode-clone/server/node_modules/python-shell/index.js:209:39)
    at ChildProcess.<anonymous> (coding-tutorials/react-leetcode-clone/server/node_modules/python-shell/index.js:182:13)
    at ChildProcess.emit (node:events:511:28)
    at ChildProcess._handle.onexit (node:internal/child_process:293:12)

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