Compile error for PROD with angular-cli
See original GitHub issueHi,
there is a blockig bug when building with angular cli for PROD configuration
Build command: ng build --prod
This is the output:
Module not found: Error: Can't resolve 'angular2-multiselect-dropdown' in '...\angular\src\$$_gendir\app\intersection-query'
@ ./src/$$_gendir/app/intersection-query/intersection-query.component.ngfactory.ts 18:0-53
@ ./src/$$_gendir/app/app.module.ngfactory.ts
@ ./src/main.ts
@ multi ./src/main.ts[39m[22m
Maybe is related to this problem ?
This is a blocking issue for us.
Thanks in advance for your support.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Compile error when running ng build --prod in angular
1 Answer 1 · if I'm updating my typescript, i'm getting ERROR in The Angular Compiler requires TypeScript >=3.4.0 and <3.6.0 but 3.7....
Read more >Identify and Fix Build and Deployment Errors in Your Angular ...
In this guide, you will learn how to spot some of the most common build and deployment errors and how to resolve them...
Read more >Error running production build after upgrading to angular-cli 1.5
With command command ng build --dev--aot=false all works fine. Some guys told that possible reason of issue in build-optimizer. I didn't try yet ......
Read more >Ahead-of-time (AOT) compilation - Angular
Detect template errors earlier, The AOT compiler detects and reports template binding errors during the build step before users can see them. ;...
Read more >Deployment - Angular
The Angular CLI command ng deploy (introduced in version 8.3.0) executes the deploy ... For the simplest deployment, create a production build and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
fixed in v1.2.4
@wakawaka54 : How are you importing the component package ? systemjs ? webpack ? or cli ?