Skip to content

I get build errors with a fresh checkoutΒ #43

@alecmce

Description

@alecmce

I'm guessing that jsts has updated but you have an indeterministic version of it as a dependency? Anyway, I was trying to use your shapefile repo to see how well it parses shapefiles, and got a jsts error via this repo

Error: Cannot find module 'jsts'
Require stack:
- [my repo]/node_modules/ginkgoch-geom/dist/bundle.js
- [my repo]/node_modules/ginkgoch-shapefile/dist/bundle.js

so I pulled this repo down to investigate. When I clone this, run yarn then yarn build, I get these errors:

ERROR in .../ginkgoch-geom/src/types/Jsts.ts
[tsl] ERROR in .../ginkgoch-geom/src/types/Jsts.ts(3,22)
      TS2300: Duplicate identifier 'MultiPoint'.

ERROR in .../ginkgoch-geom/src/types/Jsts.ts
[tsl] ERROR in .../ginkgoch-geom/src/types/Jsts.ts(5,22)
      TS2300: Duplicate identifier 'MultiLineString'.

ERROR in .../ginkgoch-geom/src/types/Jsts.ts
[tsl] ERROR in .../ginkgoch-geom/src/types/Jsts.ts(7,22)
      TS2300: Duplicate identifier 'MultiPolygon'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions