tool · inferred from evidence
Vite
A build tool and development server for modern web projects.
- Dynamic require of buffer/index.js is not supported with nodejs_compat (WorkOS on Cloudflare)
Fixed in the v8 release of @workos-inc/node (PR #1370 reworked the crypto handling). Upgrade to v8 or newer if you run on Cloudflare Workers with nodejs_compat. On 7.x there is no clean fix; the error only appears in the local miniflare/vit
- @axiomhq/react does not work with vite: Uncaught ReferenceError: process is not defined
The SDK read process.env directly, which does not exist in the browser. Workaround: define process.env in vite.config via the `define` option. Fixed upstream: the SDK now wraps environment-variable access so it is safe in browser contexts (
- DevCycle nodejs-server-sdk Could not resolve @devcycle/js-client-sdk in Remix Vite build
This is expected behavior, not a bug: the JS SDK is a deliberate optional peer dependency of the Node.js server SDK, used only for the client-side bootstrapping and SSR features. If you use those features, install @devcycle/js-client-sdk ex
- Circular dependency warnings from @braze/web-sdk with Vite / Rollup
Exclude the SDK from Vite's dev-server dependency optimization so it is loaded as-is instead of being pre-bundled: add `@braze/web-sdk` to `optimizeDeps.exclude` in vite.config (e.g. `optimizeDeps: { exclude: ['@braze/web-sdk'] }`). This on
- Unable to get @axiomhq/js working in Vite: SyntaxError: Unexpected token 'export'
The package's ESM build used `export *` re-exports that Vite's SSR module runner could not parse. Fixed upstream in axiom-js PR #56 (switched to named exports) with follow-up build fixes in PR #63: upgrade @axiomhq/js past 0.1.2/0.1.3 and t
- passage-node constructor fails in Remix app (Vite SSR import error)
The default import of passage-node broke under Vite SSR in Remix, Astro, and SvelteKit. It was fixed in v2.11.0 of the package, and the maintainers also recommend switching to the named import syntax, import { Passage } from '@passageidenti