ERROR TypeError: Cannot read property 'getComputedStyle' of undefined
Closed this issue · 3 comments
prosenjit-manna commented
Hello,
After build ng build --prod --env=prod --aot=true
Lightbox not opening I get this error ERROR TypeError: Cannot read property 'getComputedStyle' of undefined
Have any idea what I missed.
ng serve
Works fine.
Info
@angular/cli: 1.0.6
node: 7.2.1
os: darwin x64
@angular/animations: 4.1.3
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/platform-browser: 4.1.3
@angular/platform-browser-dynamic: 4.1.3
@angular/router: 4.1.3
@angular/cli: 1.0.6
@angular/compiler-cli: 4.1.3
themyth92 commented
Ok tks for reporting, I will give it a look !
themyth92 commented
Hi should be fixed now. Please use the version 1.1.3 from npm. Tks :)
prosenjit-manna commented
Great work. No problem found in the production version.