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.

Compile error for PROD with angular-cli

See original GitHub issue

Hi,

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

Maybe is related to this problem ?

This is a blocking issue for us.

Thanks in advance for your support.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
CuppaLabscommented, Aug 13, 2017

fixed in v1.2.4

0reactions
CuppaLabscommented, Sep 22, 2017

@wakawaka54 : How are you importing the component package ? systemjs ? webpack ? or cli ?

Read more comments on GitHub >

github_iconTop 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 >

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