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

Angular 6 Support #44

Closed
danielehrhardt opened this issue May 19, 2018 · 1 comment
Closed

Angular 6 Support #44

danielehrhardt opened this issue May 19, 2018 · 1 comment

Comments

@danielehrhardt
Copy link

I get this error Message:


sister.js:57 Uncaught ReferenceError: global is not defined
    at Object../node_modules/sister/src/sister.js (sister.js:57)
    at __webpack_require__ (bootstrap:81)
    at Object../node_modules/swing/dist/Card.js (Card.js:11)
    at __webpack_require__ (bootstrap:81)
    at Object../node_modules/swing/dist/index.js (index.js:8)
    at __webpack_require__ (bootstrap:81)
    at Object../src/app/components/angular-swing/swing.ts (swing.ts:1)
    at __webpack_require__ (bootstrap:81)
    at Object../src/app/components/angular-swing/index.ts (app.module.ts:34)
    at __webpack_require__ (bootstrap:81)
@mashhoodr
Copy link
Collaborator

You need to add the following in polyfills:

(window as any).global = window;

follow issue: socketio/socket.io-client#1166

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