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

webpack serve error: interopRequireWildcard":1 Uncaught ReferenceError: require is not defined #94

Open
lornally opened this issue Jan 26, 2021 · 2 comments

Comments

@lornally
Copy link

# when i use this config:
externals:[nodeExternals()]

# i got this error, when i browser localhost:8080, with webpack serve and chrome
interopRequireWildcard":1 Uncaught ReferenceError: require is not defined
    at Object.@babel/runtime/helpers/interopRequireWildcard (interopRequireWildcard":1)
    at __webpack_require__ (bootstrap:18)
    at Object../src/rei.cs (rei.js?8db1d7f0395cecc37478:12)
    at __webpack_require__ (bootstrap:18)
    at checkDeferredModulesImpl (jsonp chunk loading:71)
    at webpackJsonpCallback (jsonp chunk loading:53)
    at rei.js?8db1d7f0395cecc37478:1
  • webpack version: 5.4.0
  • Node.js version: 15.5.0
  • Operating System: macos bigsur 11.1
  • Additional tools: vscode, coffeescript
  • NPM Version:7.3.0
  • webpack-dev-server Version: 3.11.0
  • Browser: chrome
@serdaryesilmurat
Copy link

Same problem :(

@IlyaShkurenko
Copy link

I'm also facing this issue

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

No branches or pull requests

3 participants