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

ReferenceError: window is not defined #19

Closed
thelazyrk opened this issue Jul 9, 2019 · 1 comment
Closed

ReferenceError: window is not defined #19

thelazyrk opened this issue Jul 9, 2019 · 1 comment

Comments

@thelazyrk
Copy link

thelazyrk commented Jul 9, 2019

I'm trying to use with the version 1.0.3 with [email protected] I get the error

ReferenceError: window is not defined
at new CometD (~/node_modules/cometd/cometd.js:3303:9)

Usage:

require('cometd-nodejs-client').adapt()
const lib = require('cometd')
const TimeStampExtension = require('cometd/TimeStampExtension')
const cometd = new lib.CometD()

I see a couple of other issues where window object is not present but they look like different problems.

@sbordet
Copy link
Member

sbordet commented Nov 5, 2019

Please update to the latest cometd version.

@sbordet sbordet closed this as completed Nov 5, 2019
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