Skip to content

Cannot read properties of undefined (reading 'replace') #239

@1upbyte

Description

@1upbyte

The extension seems to work, but then crashes shortly after. Restarting the extension works for a little bit (maybe a few minutes). Here is the error VSCode gives:

'Cannot read properties of undefined (reading 'replace')' while validating: /usr/include/stdlib.h. Please analyze the 'C/C++ FlyLint' Output console. Stacktrace: TypeError: Cannot read properties of undefined (reading 'replace')
    at a.lint (/home/pablo/.vscode/extensions/jbenden.c-cpp-flylint-1.15.0/server/out/server.js:2:12213)
    at /home/pablo/.vscode/extensions/jbenden.c-cpp-flylint-1.15.0/server/out/server.js:2:22138
    at Array.forEach (<anonymous>)
    at q (/home/pablo/.vscode/extensions/jbenden.c-cpp-flylint-1.15.0/server/out/server.js:2:22113)
    at async /home/pablo/.vscode/extensions/jbenden.c-cpp-flylint-1.15.0/server/out/server.js:2:25161

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