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: X2JS is not defined #9

Open
FrequentlyMissedDeadlines opened this issue Jan 2, 2021 · 0 comments
Open

ReferenceError: X2JS is not defined #9

FrequentlyMissedDeadlines opened this issue Jan 2, 2021 · 0 comments

Comments

@FrequentlyMissedDeadlines
Copy link

FrequentlyMissedDeadlines commented Jan 2, 2021

This library is only working if X2JS variable is defined in window. It is the case if you load manually all your dependencies in your HTML file with <script src="..."/> tags. But if you are using frameworks like webpack or Meteor you will face this issue:

ReferenceError: X2JS is not defined

The solution I've found is to remove the dependency on angular-x2js and switch to angular-x2js-wrapper.

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

1 participant