ng2-scrollimate | Pure angular2 directive to trigger animations | Animation library
kandi X-RAY | ng2-scrollimate Summary
kandi X-RAY | ng2-scrollimate Summary
Pure angular2 directive to trigger animations on scrolling
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ng2-scrollimate
ng2-scrollimate Key Features
ng2-scrollimate Examples and Code Snippets
Community Discussions
Trending Discussions on ng2-scrollimate
QUESTION
So I was trying to build and deploy my Angular 4 app for production on both Firebase and Heroku, but I have come across the error as follows:
ERROR in /Users/.../... (57,49): Property 'firebase' does not exist on type '{ production: boolean; }'.
It occurs when I run ng build --prod
, and my deployment servers are working perfectly fine. Here is my app.module.ts file, for reference:
ANSWER
Answered 2018-Jan-12 at 20:36When you run ng build --prod
angular-cli will use the environment.prod.ts
file and your environment.prod.ts
files environment
variable doesn't have the firebase
field hence you are getting the exception.
Add the field to
environment.prod.ts
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ng2-scrollimate
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page