__webpack_modules__[moduleId] is not a function

See original GitHub issue

Describe the bug

The component is failing on mouting with a webpack module error

Uncaught (in promise) TypeError: __webpack_modules__[moduleId] is not a function at __webpack_require__ (vue-advanced-chat.common.js?91b2:30462:1) at eval (vue-advanced-chat.common.js?91b2:30559:1) at eval (vue-advanced-chat.common.js?91b2:42585:1) at Object.eval (vue-advanced-chat.common.js?91b2:42588:1) at eval (vue-advanced-chat.common.js:42591:30) at ./node_modules/vue-advanced-chat/dist/vue-advanced-chat.common.js (12.js:80:1) at __webpack_require__ (app.js:854:30) at fn (app.js:151:20) at eval (ChatContainer.vue?2b8c:34:1) at ./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js?!./src/components/chat/ChatContainer.vue?vue&type=script&lang=js (12.js:35:1)

Steps to reproduce

Im using the talbar/next version for vue3 and this error appear at mounting point.

Expected behavior

See the chat component

Device

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
cainiao1231commented, Aug 28, 2022

The new version works great, thank you very much for your selfless open source dedication. I’m just a rookie, your project really helped me a lot, I look forward to it getting better and better and allowing more people to use your project. Peace and love!

1reaction
antoine92190commented, Aug 26, 2022

I just released the 2.0.0 version which should solve your issue. Can someone try it out and let me know if it works?

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebPack - TypeError: __webpack_modules__[moduleId] is ...
I'm struggling with a WebPack error that occur when I use my custom library hosted as a package and streamed with NPM Link....
Read more >
TypeError: __webpack_modules__[moduleId] is not a function ...
TypeError : __webpack_modules__[moduleId] is not a function using Sentry ... SENTRY_MODULE); if (options.module.loaders) { // Handle old ...
Read more >
Weird webpack comments when compiling javascript - Laracasts
I get something similar to this running npm run dev, this is in public/js/app.js after running the command /******/ (function(modules) { // webpackBootstrap ......
Read more >
Demistifying webpack's 'import' function: using dynamic ...
You can think of a dynamic expression as anything that's not a raw ... Unlike SystemJS, webpack can't load any arbitrary module at...
Read more >
How to Fix Webpack Merge Is Not a Function - Future Studio
How to Fix Webpack Merge Is Not a Function ... npm run build:js > webpack --config webpack.prod.js --hide-modules ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found