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.

Webpack 4 support

See original GitHub issue

Hello!

Thank you for this great tool!

However, it looks like it’s not compatible with the latest webpack. When I’m trying to analyze the generated stats.json file, I’m getting the following error:

Error: Invalid webpack stats object. (Errors: Expecting Array<(({ chunks: Array<(string | number | null)>, identifier: string, size: number } & { name: string } & { source: string }) | ({ chunks: Array<(string | number | null)>, identifier: string, size: number } & { name: string }) | RWebpackStatsModuleModules)> at modules but instead got: undefined.)
    at Promise.resolve.then (./node_modules/inspectpack/lib/actions/base.js:100:23)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
slavafomincommented, Jul 10, 2019

Does this fix your issue / enable you to use inspectpack now?

Yay! It is!

Thanks again 😃

0reactions
slavafomincommented, Jul 10, 2019

I’ve created an issue with Webpack: https://github.com/webpack/webpack/issues/9392

Read more comments on GitHub >

github_iconTop Results From Across the Web

To v5 from v4 - webpack
This guide aims to help you migrating to webpack 5 when using webpack directly ... it's recommended to update to the latest version...
Read more >
Upgrading Webpack 4 → 5 | Square Corner Blog
However, it only supported up to Webpack 4 and the project had been deprecated with no alternative recommendations.
Read more >
Webpack - npm
Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support ...
Read more >
Webpack 4.0 Release: What's New? - Auth0
For this reason, Webpack 4 now supports WebAssembly out of the box. In Webpack 4, you can import and export any local WebAssembly...
Read more >
Webpack 4 | Mobify DevCenter
Upgrading to webpack 4 can significantly improve a project's build time. ... Supported browser list is provided within package.json. - autoprefixer().
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