-
Notifications
You must be signed in to change notification settings - Fork 150
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
Javascript Usage #52
Comments
For a quick fix you could use Parcel
|
I have the same issue. Following chartinger approach, I get error × No entries found. when running parcel build polylabel.js |
Here's a browser build that you can use from a CDN: https://bundle.run/@mapbox/[email protected] I should update the readme about this. |
Thanks a lot. In case anybody else has the same issue, finally Browserify ( http://browserify.org/#install ) worked for me ( you just replied quiker than I was able to post my solution ;) ). |
@mstrop can you share your code here? I'm struggling with the same issue. |
I have load the library <script src="https://bundle.run/@mapbox/[email protected]"></script>import * as polylabel from 'polylabel'; still module not found |
I had the same issue and fixed it by including this |
Hi there,
I might be too stupid to use it in javascript. Just wondering how I should use it in my javascript/html so that I can avoid the error information of 'request is not defined' or 'Queue is not a constructor'?
Regards,
The text was updated successfully, but these errors were encountered: