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

[Exception] this.svg.trasition is not a function #20

Open
eitanfr opened this issue Oct 10, 2018 · 6 comments
Open

[Exception] this.svg.trasition is not a function #20

eitanfr opened this issue Oct 10, 2018 · 6 comments

Comments

@eitanfr
Copy link

eitanfr commented Oct 10, 2018

getting this after setting data.
looks like this.svg has the wrong value
not sure why I suddenly getting this.

image
viewer exception line:
image

@ramtob
Copy link
Member

ramtob commented Oct 13, 2018

@eitanfr Do you get this error sometimes / always? Can it be reproduced?

@ramtob
Copy link
Member

ramtob commented Oct 14, 2018

@eitanfr P.S. Please see if you can reproduce the error in the demo app http://webiks.com/blog/force-horse-demo/

@eitanfr
Copy link
Author

eitanfr commented Oct 14, 2018

yes it happens to me every time I set data to force-horse.
tried to set 5 entities, with the default svg and still got this error

@eitanfr
Copy link
Author

eitanfr commented Oct 14, 2018

image
Got the same error with the demo app... maybe related to chrome version (I use 68) or other packages versions...

@ramtob
Copy link
Member

ramtob commented Oct 18, 2018

This seems to be the related issue in d3:
d3/d3-selection#185

@ramtob
Copy link
Member

ramtob commented Jan 4, 2019

This error occurred when using yarn, rather than npm. Yarn locks versions in a different way than npm. A temporary fix is:

  • delete node_modules directory
  • run npm install (instead of yarn install)
  • convert to yarn using yarn import

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