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.

multiple-entry-points example error

See original GitHub issue

I’m submitting a bug report

When running webpack on the multiple-entry-points example I get an error

Webpack version: 2.1.0-beta.21 OSX 10.x

Current behavior: TypeError: chunk.hasRuntime is not a function at /Users/me/WebstormProjects/webpack/lib/optimize/CommonsChunkPlugin.js:89:20

Expected/desired behavior: No error

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

14reactions
csvancommented, Feb 27, 2017

People who are having issues with webpack-stream, instead of .pipe(webpack(myConfig)), do: .pipe(webpack(myConfig, require('webpack')).

https://github.com/shama/webpack-stream/issues/125

8reactions
unlightcommented, Aug 31, 2016

For me issue is reproduced when using webpack-stream, but not when cli. Version: webpack@2.1.0-beta.21

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple entry points not working correctly #88
In my preliminary tests it seems that the module.hot.accept handlers were not handled correctly across entries. It may or may not have something ......
Read more >
Program has more then one entry point error! : r/csharp
No idea why it isn't working. Tried to look it up but couldn't find any help. Anyone no how to fix?
Read more >
Webpack reference error between multiple entry points
As mention in comments I needed to export - import the values which are defined in their respective module scope. a.js:
Read more >
Bogus error: Program has more than one entry point defined
The solution will contain a single project with multiple classes having a Main() method. Rider will highlight each of these methods with an...
Read more >
Entry Points
We will show you the ways you can configure the entry property, in addition to explaining why it may be useful to you....
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