mfogel / polygon-clipping

Apply boolean polygon clipping operations (union, intersection, difference, xor) to your Polygons & MultiPolygons.
MIT License
550 stars 63 forks source link

Error: Cannot read properties of undefined (reading 'POLYGON_CLIPPING_MAX_QUEUE_SIZE') #165

Closed artemrsx closed 6 months ago

artemrsx commented 9 months ago

Reproduction https://stackblitz.com/edit/nuxt-starter-e8wsmf?file=package.json

Describe the bug When trying to include polygon-clipping, get an error Cannot read properties of undefined (reading 'POLYGON_CLIPPING_MAX_QUEUE_SIZE') because we have process but don't have env in nuxt 3 project.

Can u check for process and process.env here ?

mfogel commented 9 months ago

Thanks for the raising the issue @artemrsx . Pull requests happily entertained.

mfogel commented 6 months ago

Fixed by #167