twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
GNU Affero General Public License v3.0
15.76k stars 1.72k forks source link

No login page after changes introduced in #6621 #6639

Closed BOHEUS closed 2 weeks ago

BOHEUS commented 3 weeks ago

As of now, instead of standard login page, there is blank white page and error in devtools, logs don't return any warning nor error image

Please investigate changes introduces in #6621

Workaround: revert commit

Logs from devtools

Uncaught SyntaxError: The requested module 'http://localhost:3001/@fs/home/user/Desktop/projects/twenty/node_modules/prop-types/index.js?v=759aeb0f' doesn't provide an export named: 'default'
BOHEUS commented 3 weeks ago

@lucasbordeau I'm still able to reproduce it, all what I did was reverting the revert of changes and rerun the server, tried clearing the cache and reinstalling all packages but in the end I'm unable to access the app.

EDIT: I cloned my fork into different directory on my pc, set up whole project according to instructions and I'm reproducing it

Bonapara commented 2 weeks ago

@BOHEUS do you still have it?

BOHEUS commented 2 weeks ago

@Bonapara I can reproduce it only if those 3 lines from mentioned issue are added to vite.config.ts, otherwise no

optimizeDeps: {
      exclude: ['@tabler/icons-react'],
    },