Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

ReferenceError: Can't find variable: module #11

@nigel-daniels

Description

@nigel-daniels

I am trying to use this module in the browser I have added it to my page directly using:

<script src="node_modules/vcard-parser/lib/vcard.js"></script>

However this then generates the error:

ReferenceError: Can't find variable: module

It seems this expects to be run in a node environment. Do you have guidance on how to use this module in the browser? Thanks.

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