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

Case conflict for Polygon.js #39

Closed
Bjvanminnen opened this issue May 21, 2018 · 2 comments
Closed

Case conflict for Polygon.js #39

Bjvanminnen opened this issue May 21, 2018 · 2 comments

Comments

@Bjvanminnen
Copy link

I get the following error when I try to use this library on Linux:

Module not found: Can't resolve './polygon' in '/home/brent/git/terrain3/node_modules/d3-delaunay/src'

This is because the file is named Polygon.js, but gets imported as "polygon".
https://github.com/d3/d3-delaunay/blob/master/src/delaunay.js#L3

Renaming the file to "polygon.js" in my node_modules fixes the issue.

@mbostock
Copy link
Member

Argh, the case-insensitive file system of macOS. Fix to be released shortly…

@mbostock
Copy link
Member

Fixed in 3.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants