Skip to content

Error: Can't resolve 'fs' #7

@avysotskiy-sc

Description

@avysotskiy-sc

When I added the lib to my react project I get the error in my browser console:

./node_modules/.pnpm/antlr4ts@0.5.0-alpha.4/node_modules/antlr4ts/misc/InterpreterDataReader.js 17:11-24
Module not found: Error: Can't resolve 'fs' in 'D:\frontend\node_modules\.pnpm\antlr4ts@0.5.0-alpha.4\node_modules\antlr4ts\misc'

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