Closed w2819 closed 3 years ago
Webpack 5 support in version 11 is experimental. Luckily, it has already been fixed in version 12. Please update to the most recent version to resolve the problem.
If the problem persists in your application after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use ng new repro-app
to create a new project where you reproduce the problem.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
π Bug report
Command (mark with an
x
)x
] buildx
] serveDescription
update angular from v9 to v11οΌit report this error when run ` npm run build` or `npm run serve` it seems this file make this error: node_modules\@ngtools\webpack\src\ivy\plugin.js ``` if (webpack_version_1.isWebpackFiveOrHigher()) { console.log(compilation.fileDependencies) allProgramFiles.forEach((sourceFile) => compilation.fileDependencies.add(sourceFile.fileName)); } ``` ## π₯ Exception or Error ## π Your Environment **Anything else relevant?**