GeezerVison is showing github.com — Webpack tries to import a chunk that does not exist · Issue #16040 · webpack/webpack
Webpack tries to import a chunk that does not exist #16040Description
Bug report
What is the current behavior?
Webpack is trying to import a chunk that does not exsit.
If the current behavior is a bug, please provide the steps to reproduce.
I have prepare a repo for reproducing it:
import * as __webpack_chunk_0__ from "./style.e9792867.js";
However, style.e9792867.js does not exsit.
What is the expected behavior?
Webpack should not import that unexist file.
Other relevant information:
webpack version: 5.73.0
Node.js version: 18.5.0
Operating System: macOS
Additional tools: PNPM Activityalexander-akait commented on Jul 12, 2022 Bug, thanks you for the report Sagargajare commented on Jul 14, 2022 @alexander-akait
import * as __webpack_chunk_0__ from "./style.e9792867.js";
Can we fix it by removing this line of code? alexander-akait commented on Jul 14, 2022 We should not generate them, something wrong in graph... sokra commented on Jul 25, 2022 Bug in experiments.outputModule. It should not add imports for chunks that do not contain JS. Usually it checks for that in many places, but seems like it was missed here. Send a PR Gautam-Arora24 commented on Jul 30, 2022 Can I work on this issue? snitin315 commented on Jul 30, 2022 Gautam-Arora24 commented on Jul 31, 2022 Can anyone help me by giving some leads as to where/how to solve this issue? This is my first time contributing to webpack. AnmolBansalDEV commented on Aug 6, 2022
hey, where to find experiments.outputModule file? ScriptedAlchemy commented on Aug 13, 2022 It’s in the ESM directory. There’s a series of plugins there. You can also see what plugins are applied when by looking at the applyOptions file. It takes the config and translates it to plugins applied to compiler. webpack-bot commented on Nov 12, 2022
This issue had no activity for at least three months.
It's subject to automatic issue closing if there is no activity in the next 15 days. hronro commented on Nov 12, 2022 webpack-bot commented on Feb 26, 2023
Issue was closed because of inactivity.
If you think this is still a valid issue, please file a new issue with additional information. hronro commented on Feb 27, 2023 I can confirm this issue still exist in the latest version of webpack (v5.75.0).
Why did webpack-bot add an inactive label and then close it without sending me any notification this time? (At least in the last time the webpack-bot add the inactive label with a comment, so I can get a notification)
Should this issue be reopened or should I file a new issue?
cc @alexander-akait @sokra alexander-akait commented on Mar 7, 2023 Reopened, we will resetup our bot soon (planned), yeah, it is very annoying
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|