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
Hi @mazhar-kv, I'm not familiar with Vite so I won't be much help here but I think you'll need to provide more information for anyone else to be helpful.
Based on my knowledge of this library I think this is unlikely an issue with react-howler and more likely an issue with your configuration or build. I'll let the issue sit open for a while in case someone see it that's experienced the issue previously.
I managed to resolve this issue for my project configuration.
The issue was related to the Vite configuration. To fix it, I added the following snippet to my vite.config.js file: export default defineConfig({ // other Vite configurations define: { global: 'window', }, });
After making this change, the problem was resolved for me. I hope this helps anyone else facing the same issue.
Techstack
React JS with VIte
Facing this Uncaught ReferenceError: HowlerGlobal is not defined.
Can anyone help me out with this?
The text was updated successfully, but these errors were encountered: