Describe the bug
When the middleware is added to src/start.ts, the browser throws:
Uncaught (in promise) SyntaxError: The requested module '/node_modules/eventemitter3/index.js?...' does not provide an export named 'default'
To Reproduce
Install the package, and follow the setup guide, start vite dev server and check browser console
Desktop (please complete the following information):
- OS: macOS
- Browser chrome
- authkit-nextjs version 0.8.2
- Tanstack Start version 1.167.65
Additional context
Seems to only effect the vite dev, error doesn't appear in vite preview
Fixed by downgrading back to 0.0.6
Describe the bug
When the middleware is added to
src/start.ts, the browser throws:Uncaught (in promise) SyntaxError: The requested module '/node_modules/eventemitter3/index.js?...' does not provide an export named 'default'To Reproduce
Install the package, and follow the setup guide, start vite dev server and check browser console
Desktop (please complete the following information):
Additional context
Seems to only effect the
vite dev, error doesn't appear invite previewFixed by downgrading back to 0.0.6