#'Global is not defined'

1 messages · Page 1 of 1 (latest)

fresh aspen
#

Hello everybody, I'm having a problem with my Vue + Vite app. I installed aws-sdk and when I tried to use it, it didn't work, made it work with some workaround in development, but then it fails during build in production. I'm having a very hard time solving this issue as it has blocked me for the past 2 days or so. I made a SO post about it: https://stackoverflow.com/questions/72114775/vite-global-is-not-defined?noredirect=1&lq=1 . It contains a little bit more information already. If somebody could help me solve this, or give me a direction how to solve it that would be great.

#

At this point I seem to have tried everything that I could find online, and nothing really seems to be working like it should. And my SO post does not seem to get much traction.