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

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

Closed
artemrsx opened this issue Feb 6, 2024 · 2 comments

Comments

@artemrsx
Copy link
Contributor

artemrsx commented Feb 6, 2024

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
Copy link
Owner

mfogel commented Feb 7, 2024

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

artemrsx pushed a commit to artemrsx/polygon-clipping that referenced this issue Apr 17, 2024
Fix process.env
mfogel pushed a commit that referenced this issue Apr 19, 2024
* Fix for #165

Fix process.env

* prettier

---------

Co-authored-by: Bochkarev Artem <[email protected]>
@mfogel
Copy link
Owner

mfogel commented Apr 19, 2024

Fixed by #167

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