the library, like most react components, does not support the browser natively. it assumes it's in a build tool environment (i.e. node.js) so it thinks there's already a global process object. this is an oversight by the developers, but your use case is relatively uncommon, so they don't test it.

you need to use a build tool like webpack, rollup, or parcel to be able to use that library.

ps: to reduce bundle size you should use .min.js cdns instead of .js, i.e. have the url be

Related Query

More Query from same tag