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

ReferenceError: Can't find variable: module #11

Open
nigel-daniels opened this issue Oct 17, 2018 · 0 comments
Open

ReferenceError: Can't find variable: module #11

nigel-daniels opened this issue Oct 17, 2018 · 0 comments

Comments

@nigel-daniels
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant