Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window is not defined on require #1

Open
nicholas-johnson opened this issue Aug 3, 2015 · 1 comment
Open

window is not defined on require #1

nicholas-johnson opened this issue Aug 3, 2015 · 1 comment

Comments

@nicholas-johnson
Copy link

Currently getting an error when requiring this in node. It looks like it's coming from the bti-dom-utils module:

var html2md = require('html2md');

stack trace:

ReferenceError: window is not defined
    at Object.<anonymous>     (/Users/nicholas/Dropbox/code/higgidy_node/node_modules/html2md/node_modules/bti-dom-utils/index.js:105:2)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous>     (/Users/nicholas/Dropbox/code/higgidy_node/node_modules/html2md/lib/html2md.js:15:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
@Ohar
Copy link

Ohar commented Aug 29, 2016

Not supporting NodeJS

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

No branches or pull requests

2 participants