Module not found : error : Can't resolve './../$$_gendir/ClientApp/app/app.browser.module.ngfactory' #49

Closed
opened 2025-08-09 17:14:48 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @bdparrish on 6/2/2018

OS: macOS (10.12.6)
IDE: Visual Studio Code
ASP.NET Core: 2.1.200 (dotnet --version)
Angular: 4.4.7
Webpack: 2.5.1

ERROR
Module not found : error : Can't resolve './../$$_gendir/ClientApp/app/app.browser.module.ngfactory'

I originally created a new project with dotnet new angular --name TestAngular. I upgraded my Angular packages to 4.4.7 to stay on the same major version. Building the project under dev works just fine. Building the project under prod fails.

I could not knock down the specific part where isDevBuild=false causes an issue individually.

*Originally created by @bdparrish on 6/2/2018* OS: macOS (10.12.6) IDE: Visual Studio Code ASP.NET Core: 2.1.200 (dotnet --version) Angular: 4.4.7 Webpack: 2.5.1 ERROR `Module not found : error : Can't resolve './../$$_gendir/ClientApp/app/app.browser.module.ngfactory'` I originally created a new project with `dotnet new angular --name TestAngular`. I upgraded my Angular packages to 4.4.7 to stay on the same major version. Building the project under `dev` works just fine. Building the project under `prod` fails. I could not knock down the specific part where `isDevBuild=false` causes an issue individually.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#49
No description provided.