chenqingspring / ng-lottie

Render After Effects animations on Angular based on lottie-web
MIT License
340 stars 100 forks source link

in angular universal has error #19

Open superRainbow opened 6 years ago

superRainbow commented 6 years ago

My project in angular universal has error:

image

My development environment:

node v7.5.0
npm 4.1.2

package.json:

"@angular/animations": "^4.2.4",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/core": "^4.2.4",
"@angular/forms": "^4.2.4",
"@angular/http": "^4.2.4",
"@angular/platform-browser": "^4.2.4",
"@angular/platform-browser-dynamic": "^4.2.4",
"@angular/platform-server": "^4.3.6",
"@angular/router": "^4.2.4",
"@nguniversal/express-engine": "^1.0.0-beta.3",
"ng-lottie": "^0.3.1",

How can I deal this problem?

damienwebdev commented 6 years ago

@superRainbow check out #26 this may resolve your issue.

damienwebdev commented 6 years ago

@superRainbow can you confirm this is solved?