Production Build Error: Web3auth + Vite + Qwik #934
reemardelarosa
announced in
Help
Replies: 2 comments
-
Tried similar solution here but got no luck. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is fixed in 4.4.2 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
#933
Issue
Buffer is not defined when deployed to production but working in local development.
Applied most of the solutions here but had no luck.
vitejs/vite#2785
Steps to reproduce the behavior:
Replicated also in stackblitz setup
https://stackblitz.com/edit/qwik-starter-dtpczo?file=adaptors/express/vite.config.ts
yarn serve
In the local build, it is working.

Screen.Recording.2022-11-25.at.10.30.17.AM.mov
Device Info (please complete the following information):
Additional context
For reference
vite.config.ts
Tried from related discussion https://github.com/orgs/Web3Auth/discussions/729
Beta Was this translation helpful? Give feedback.
All reactions