Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: HowlConstructor.current is not a constructor #60

Closed
PuruVJ opened this issue Feb 21, 2021 · 7 comments · Fixed by #87
Closed

TypeError: HowlConstructor.current is not a constructor #60

PuruVJ opened this issue Feb 21, 2021 · 7 comments · Fixed by #87

Comments

@PuruVJ
Copy link

PuruVJ commented Feb 21, 2021

I am having the error mentioned above while using use-sound with Vite and React.

  • Howler JS is being loaded, in the networks panel in devtools
  • Error is here:
    image

Pls help.
Thank you

@apilacharya
Copy link

apilacharya commented May 27, 2021

Same error here. If you've find the fix please mention.

@PuruVJ
Copy link
Author

PuruVJ commented May 27, 2021

Same error here. If you've find the fix please mention.

Not yet. I've moved on to using plain <audio > tag and programmatically triggering, as that was enough for my use case

@joshwcomeau
Copy link
Owner

If anyone does find a fix, feel free to submit a PR! I'm not familiar with Vite so I can't offer any help

@DrSensor
Copy link
Contributor

DrSensor commented Jul 5, 2021

I think this issue should be kept open for visibility (making it easier for robot to crawl)

@joshwcomeau
Copy link
Owner

I believe this should be fixed now, thanks to @DrSensor's PR.

@rostyslavDoskochynskiy
Copy link

rostyslavDoskochynskiy commented May 4, 2022

Hey guys. Issue is still present. Let me know, how I can have it resolved with Vite on my end

@devonpmack
Copy link

Hi, the issue is still occurring, I believe because the fix hasn't actually been shipped to NPM. @joshwcomeau could you please cut a release with @DrSensor's fix? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants