You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Vite Server with Express (middleware). I have an API which results location of multiple index.jsx files which contains React compiled code (ES), sample:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Vite Server with Express (middleware). I have an API which results location of multiple
index.jsxfiles which contains React compiled code (ES), sample:The above file is loaded successfully, but I am getting the following error whenever I load the page:
When I remove the useRef (and it's references), the UI loads up without error, as soon as I add any React hook, I get the same error.
Repo Link: https://github.com/botmate/botmate/tree/dev
I have spent more than 4 hours on this trying to fix. Please help. Thanks!
Note: It works fine when I run the application in development mode.
Steps for reproduct
devbranch [commit b19e5a7]pnpm inx local-registrynx release publish{ "scripts": { "start": "botmate start" }, "dependencies": { "@botmate/cli": "0.0.1", "@botmate/client": "0.0.1", "@botmate/plugin-auth": "0.0.1", "@botmate/plugin-users": "0.0.1" } }npm iindex.mjsnpx botmate installnode index.mjsThen open localhost:3000/users in your browser, it should show a button,
now, open localhost:3000/login - you should see the error
Beta Was this translation helpful? Give feedback.
All reactions