Closed sapphi-red closed 1 year ago
@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
With Vite: https://stackblitz.com/edit/vitejs-vite-s5nvkp?file=main.js With Webpack: https://stackblitz.com/edit/webpack-webpack-js-org-mchzxo?file=src%2Findex.js
N/A
import Clerk from '@clerk/clerk-js'; console.log(Clerk) // undefined
The default export of @clerk/clerk-js is undefined.
According to the README and the type definition the default export should have a non-undefined value. https://github.com/clerkinc/javascript/blob/main/packages/clerk-js/README.md#install-clerkjs-as-es-module https://cdn.jsdelivr.net/npm/@clerk/clerk-js@4.48.0/dist/types/index.d.ts
It doesn't work with Vite nor Webpack. It worked until 4.44.0 and doesn't work from 4.45.0.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
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
With Vite: https://stackblitz.com/edit/vitejs-vite-s5nvkp?file=main.js With Webpack: https://stackblitz.com/edit/webpack-webpack-js-org-mchzxo?file=src%2Findex.js
Browser/OS
N/A
Description
The default export of
@clerk/clerk-js
is undefined.According to the README and the type definition the default export should have a non-undefined value. https://github.com/clerkinc/javascript/blob/main/packages/clerk-js/README.md#install-clerkjs-as-es-module https://cdn.jsdelivr.net/npm/@clerk/clerk-js@4.48.0/dist/types/index.d.ts
It doesn't work with Vite nor Webpack. It worked until 4.44.0 and doesn't work from 4.45.0.