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.

WARNINGs all over the place

See original GitHub issue

I am getting so many errors when using this library when using it with @angular/cli with this command:

$ ng build --prod

Repo URL: https://github.com/dolanmiu/ng-color

Errors:

WARNING in ./src/$$_gendir/app/app.module.ngfactory.ts
130:1227-1233 "export 'ɵl' (imported as 'i59') was not found in 'ng-color'

WARNING in ./src/$$_gendir/app/app.module.ngfactory.ts
130:1235-1241 "export 'ɵl' (imported as 'i59') was not found in 'ng-color'

WARNING in ./src/$$_gendir/app/vehicles/vehicle-edit/vehicle-edit.component.ngfactory.ts
66:12-17 "export 'ɵc' (imported as 'i4') was not found in 'ng-color'

WARNING in ./src/$$_gendir/app/vehicles/vehicle-edit/vehicle-edit.component.ngfactory.ts
66:46-51 "export 'ɵc' (imported as 'i4') was not found in 'ng-color'

WARNING in ./src/$$_gendir/app/planning/planning-edit/planning-edit.component.ngfactory.ts
104:12-17 "export 'ɵc' (imported as 'i8') was not found in 'ng-color'

WARNING in ./src/$$_gendir/app/planning/planning-edit/planning-edit.component.ngfactory.ts
104:46-51 "export 'ɵc' (imported as 'i8') was not found in 'ng-color'

WARNING in ./src/$$_gendir/app/production/production-edit/production-edit.component.ngfactory.ts
36:12-17 "export 'ɵc' (imported as 'i4') was not found in 'ng-color'

WARNING in ./src/$$_gendir/app/production/production-edit/production-edit.component.ngfactory.ts
36:46-51 "export 'ɵc' (imported as 'i4') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
13:283-288 "export 'ɵl' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
13:290-295 "export 'ɵl' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
35:63-68 "export 'ɵe' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
37:12-17 "export 'ɵe' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
55:63-68 "export 'ɵh' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
57:12-17 "export 'ɵh' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
90:12-17 "export 'ɵa' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
90:46-51 "export 'ɵa' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
94:51-56 "export 'ɵa' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
115:63-68 "export 'ɵo' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
117:12-17 "export 'ɵo' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
134:63-68 "export 'ɵk' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
134:71-76 "export 'ɵl' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
136:12-17 "export 'ɵk' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
172:12-17 "export 'ɵc' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
172:46-51 "export 'ɵc' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
176:59-64 "export 'ɵc' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
199:49-54 "export 'ɵd' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
200:32-37 "export 'ɵm' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
220:12-17 "export 'ɵe' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
220:45-50 "export 'ɵe' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
222:61-66 "export 'ɵe' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
244:49-54 "export 'ɵd' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
245:127-132 "export 'ɵm' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
257:12-17 "export 'ɵh' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
257:45-50 "export 'ɵh' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
259:40-45 "export 'ɵh' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
281:49-54 "export 'ɵd' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
282:135-140 "export 'ɵn' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
297:12-17 "export 'ɵk' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
297:45-50 "export 'ɵk' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
297:53-58 "export 'ɵl' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
299:48-53 "export 'ɵk' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
320:142-147 "export 'ɵm' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
322:43-48 "export 'ɵm' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
345:32-37 "export 'ɵn' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
347:51-56 "export 'ɵn' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
371:49-54 "export 'ɵd' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
372:32-37 "export 'ɵn' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
392:12-17 "export 'ɵo' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
392:45-50 "export 'ɵo' (imported as 'i1') was not found in 'ng-color'

WARNING in ./src/$$_gendir/~/ng-color/ng-color.ngfactory.ts
394:65-70 "export 'ɵo' (imported as 'i1') was not found in 'ng-color'

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
cheindlcommented, Jul 7, 2017

Got the same problem here.

0reactions
ianqueuecommented, Sep 1, 2017

@Janatbek - is that so you can npm/yarn link your module and build with --aot with the cli and the cli won’t complain since it’s outside of the project folder?

Anyways, I figured things out as it was an issue in my code base I believe where I was defining and exporting an interface from my service and also importing that interface in the same file… curious if it was a VSCode plugin that thought at one point I wanted to import it so it threw the import line up at the top of the file.

I did what I always have to do is strip out all the code so that the base module compiles again and then slowly add back code… which is very painful as ng serve --aot takes forever to compile.

The kicker was it worked with angular 4.2.3… then when I went to 4.2.6 it stopped… guess they are tightening up the aot build with each new release which is good, but I just wish there was a better way to find AOT issues before hand like a linter etc.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Active Alerts - National Weather Service
Warnings By State · Excessive Rainfall and Winter Weather Forecasts · National River Flooding · Latest Warnings · Thunderstorm/Tornado Outlook
Read more >
Emergency Alerts | Ready.gov
This page describes the different warning alerts you can get when emergencies strike and how to get them. Wireless Emergency Alerts ...
Read more >
Proposition 65 Clear and Reasonable Warnings Questions ...
Q39: How specific must the description of the source of exposure be in an environmental warning? Must a specific area be described for...
Read more >
Frequently Asked Questions (FAQ) - Storm Prediction Center
The NWS issues warnings for heavy snow, freezing rain, high winds, flash flooding, river flooding, thunderstorms, tornadoes, tropical storms, and hurricanes. In ......
Read more >
Wireless Emergency Alerts (WEA)
The Warning, Alert and Response Network (WARN) Act established WEA in 2008 and it became operational in ... Does WEA track my location?...
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