Closed mind0bender closed 1 year ago
Hello @mind0bender, thanks for the report. This is fixed in @clerk/clerk-react@4.14.2
, more details can be found in https://github.com/clerkinc/javascript/issues/1027
Closing this one but feel free to reopen if you hit any issues :)
Package + Version
@clerk/clerk-js
@clerk/clerk-react
@clerk/nextjs
@clerk/remix
@clerk/types
@clerk/themes
@clerk/localizations
@clerk/clerk-expo
@clerk/backend
@clerk/clerk-sdk-node
@clerk/shared
@clerk/fastify
@clerk/chrome-extension
gatsby-plugin-clerk
build/tooling/chore
Dependencies + versions
Provide a json with the dependencies used in your project (copy paste from yarn.lock / package-lock.json) or a github project / template that reproduces the issue.
*Include the @clerk/ packages and their versions!**
Example:
Browser/OS
If applicable e.g.
Chrome {version}
,Node {version}
,Bun {version}
,Cloudflare worker {version}
Description
Describe your issue in detail, a demo repository or a sandbox would be great.
"global" is not defined in vite's development environment(
yarn dev
). my vite app(react
withts
+SWC
) throws an error sayingFor some reason it works fine on a production build(
yarn preview
)