You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should you either serve it or build using the prod argument.
ng serve --prod
ng build --prod
Then the resulting app should crash with the OP stack trace
🔥 Exception or Error
ERROR TypeError: i.rgb is not a function
at Tt (color.js.pre-build-optimizer.js:227)
at n (rgb.js.pre-build-optimizer.js:10)
at Wt (numberArray.js.pre-build-optimizer.js:8)
at dr (continuous.js.pre-build-optimizer.js:30)
at ks.p [as ramp] (continuous.js.pre-build-optimizer.js:85)
at SVGPathElement. (index.ts:187)
at SVGPathElement. (style.js.pre-build-optimizer.js:17)
at dt.each (each.js.pre-build-optimizer.js:5)
at dt.style (style.js.pre-build-optimizer.js:25)
at ks.fillColors (index.ts:186)
People already submitted an issue under d3-color but, the devs claimed it wasn't their problem. (link d3/d3-color#68). Considering that everything else works with buildOptimizer I don't really know if it's your problem either but, I figured you guys might be able to figure out what the issue is.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: ....Description
A clear and concise description of the problem...D3-Color appears to miscompile when using the --aot=true flag or whenever using buildOptimizer.
🔬 Minimal Reproduction
( Someone from the thread on d3-color already made a reproducable example)
clone this project https://github.com/goldieswx/d3color-angular
Should you either serve it or build using the prod argument.
ng serve --prod
ng build --prod
Then the resulting app should crash with the OP stack trace
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
People already submitted an issue under d3-color but, the devs claimed it wasn't their problem. (link d3/d3-color#68). Considering that everything else works with buildOptimizer I don't really know if it's your problem either but, I figured you guys might be able to figure out what the issue is.
The text was updated successfully, but these errors were encountered: