question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

this[MODULE_TYPE] is not a function

See original GitHub issue

TypeError: this[MODULE_TYPE] is not a function under version 4.x when used in a node build process akin to https://github.com/nozzle/react-static/blob/master/packages/react-static-plugin-css-modules/src/node.api.js (despite updating the API as noted in the changelog)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:8
  • Comments:20

github_iconTop GitHub Comments

7reactions
CermakMcommented, Nov 4, 2019

Any update on this one, please? Same issue.

5reactions
ngattusohwcommented, Feb 2, 2020

Was this ever resolved? I am still getting this issue as well

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack - TypeError: this[MODULE_TYPE] is not a function at ...
Trying to migrate from css to scss and getting all the loaders in place in my webpack but it gives me this error:...
Read more >
TypeError: this[MODULE_TYPE] is not a function - CSDN博客
在利用mini-css-extract-plugin插件抽取css时遇到这个错误解决方案https://github.com/webpack-contrib/mini-css-extract-plugin/issues/73.
Read more >
TypeError: this[MODULE_TYPE] is not a function - CodeAntenna
解决npm报错:Modulebuildfailed:TypeError:this.getResolveisnotafunction1.sass-loader的版本过高导致的编译错误,当前最高版本是8.x,需要退回到7.3.1运行:先卸载当前 ...
Read more >
MiniCssExtractPlugin - webpack
⚠ The insert function is serialized to string and passed to the plugin. This means that it won't have access to the scope...
Read more >
TypeError: "x" is not a function - JavaScript - MDN Web Docs
Maybe there is a typo in the function name? Maybe the object you are calling the method on does not have this function?...
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