iflylabs/ChatCamp-JavaScript-SDK

ReferenceError: window is not defined (npm)

Closed this issue · 1 comments

As it happens on RunKit

var chatcamp = require("chatcamp")

ReferenceError: window is not defined

ChatCamp package requires a browser or react native environment to run. If you intend to run it inside a node.js environment, then please consider using "browser-env" package along with it. Thanks.