Comments (8)
Hey @drdaemos, it seems that your build is failing due to an internal configuration you have added to fail the build with every rollup warning:
rollupOptions: {
onwarn(warning) {
throw Object.assign(new Error(), warning)
},
},
We will release a fixed version probably by the end of the week or early next week.
from frontegg-react.
Is there any additional information I can provide to help debug this?
from frontegg-react.
We're actively working on the issue you've reported, but as of now, we haven't been able to replicate it ourselves. It would be immensely helpful if you could share a sample project that demonstrates the problem you're encountering.
If providing an example project isn't feasible, could you please share some additional information with us? Specifically, we'd appreciate it if you could provide details about your Node.js version, your tsconfig.ts file, and any configuration you added.
from frontegg-react.
I will try to gather an example project and get back to you.
In general, judging by the compiled files - there definitely is a dependency between @frontegg/redux-store/auth/LoginState/saga.js
and @frontegg/redux-store/auth/SignUp/saga.js
: they both rely on at least one exported function from each other.
I'm not sure why it is not causing problems in the other envs, maybe Vite is doing some clever tree-shaking with the options that we have. If I don't build this with Vite and just use HMR to introduce the code dependent on the frontegg-react
, it actually works fine.
from frontegg-react.
Here is the example project repo: https://github.com/drdaemos/frontegg-circular-issue
from frontegg-react.
@drdaemos awesome! thanks. I realized that your Vite config file is different. When I use yours, I can reproduce it.
We are working on a fix.
from frontegg-react.
Any update on this?
from frontegg-react.
By the way, we're now seeing
Circular dependency: ../../../node_modules/@frontegg/redux-store/auth/index.js -> ../../../node_modules/@frontegg/redux-store/auth/saga.js -> ../../../node_modules/@frontegg/redux-store/auth/SSOState/saga.js -> ../../../node_modules/@frontegg/redux-store/auth/LoginState/saga.js -> ../../../node_modules/@frontegg/redux-store/toolkit/index.js -> ../../../node_modules/@frontegg/redux-store/auth/index.js
from frontegg-react.
Related Issues (20)
- [BUG] Authentication Loading State Issue with Vite HOT 9
- [BUG] AdminPortal.show() won't open admin box at first time, but it does on the second time HOT 1
- [BUG] Tenant switcher doesn't work
- [BUG] Package.json module property points to non-existent file HOT 1
- [BUG] @frontegg/redux-store/toolkit/index.js is ESM not CommonJS HOT 1
- [BUG] TypeError: can't access property "store", _useReduxContext is null with UmiJS
- [BUG] @frontegg/react-hooks setinterval with a low time interval
- [BUG] @frontegg/react-auth Rendered more hooks than during the previous render
- [BUG] Error: useNavigate() may be used only in the context of a <Router> component. HOT 3
- [BUG] When baseUrl is undefined the application just redirects endlessly HOT 1
- [BUG] GithubIcon.tsx text should be "GitHub", not "Github" HOT 3
- [BUG] empty error messages on login HOT 2
- [BUG] keepSessionAlive does not behave as expected HOT 4
- [BUG]Uncaught TypeError: Cannot read properties of null (reading 'store') HOT 7
- [BUG] Local React builds take much longer with @frontegg/react package HOT 1
- Question: How to redirect to Login page after session timeout HOT 1
- Redirect after logout with embedded react
- [BUG] how should i integrate with RouterProvider of React Router V6? HOT 5
- ``` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frontegg-react.