-
Notifications
You must be signed in to change notification settings - Fork 97
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
smooch__WEBPACK_IMPORTED_MODULE_1___default(...).... is not a function #709
Comments
👍 previous versions are still working, I tried 5.6.0 ... |
Same here, trying the most basic usage of the widget and I was scratching my head what I was doing wrong. Thanks for reporting it and restoring my sanity 😅 For reference, I was just trying the most basic setup:
Forcing version 5.6.0 indeed makes it work as expected - thanks for the hint, @kaiwa! 🙇 |
It seems that it's because since 5.6.2, there is no longer a module.exports= in the lib/index.js.. |
Yep, the export is empty: import Smooch from 'smooch';
// I've also tried
// import * as Smooch from 'smooch';
console.log(Smooch) logs an empty object ( |
Let me get impertinent and tag @DataWearsAHood and @mspensieri, as they seem to have been the last people acting on issues here. Could you or your colleagues look into this? It makes new versions of Smooch unusable with Node :( |
Hello 👋 thanks for the ping . As you've noticed, we don't actively monitor this repo for bug reports. In the future you'd get more prompt support by using the support widget in our help center https://support.zendesk.com/hc/en-us/ or from Admin Center > Get More Help. For now I've forwarded this report to the team that maintains the web messenger, and they've filed a bug for this issue |
bug report
smooch__WEBPACK_IMPORTED_MODULE_1___default(...).init is not a function
TypeError: smooch__WEBPACK_IMPORTED_MODULE_1___default(...).init is not a function
at initializeSmooch (http://localhost:3000/static/js/bundle.js:111696:64)
at SmoochWebChat (http://localhost:3000/static/js/bundle.js:111709:11)
at RouterWrapper (http://localhost:3000/static/js/bundle.js:110374:115)
at renderWithHooks (http://localhost:3000/static/js/bundle.js:275914:22)
at mountIndeterminateComponent (http://localhost:3000/static/js/bundle.js:279885:17)
at beginWork (http://localhost:3000/static/js/bundle.js:281188:20)
at beginWork$1 (http://localhost:3000/static/js/bundle.js:286147:18)
at performUnitOfWork (http://localhost:3000/static/js/bundle.js:285417:16)
at workLoopSync (http://localhost:3000/static/js/bundle.js:285340:9)
at renderRootSync (http://localhost:3000/static/js/bundle.js:285313:11)
The text was updated successfully, but these errors were encountered: