stanleyeosakul / angular-universal-firebase

Angular Universal app using Firebase Cloud Functions
MIT License
14 stars 1 forks source link

Error: The animation trigger "heroState" has failed to build due to the following errors #3

Open bellib opened 6 years ago

bellib commented 6 years ago

Angular animation didn't work when i run with node js firebase serve --only functions,hosting or firebase deploy

both didn't work ( animation )

ghost commented 6 years ago

Hi, Are you sure, you have the same package in the ./package.json and functions/package.json? I using angular material and the animations work fine.

bellib commented 6 years ago

Thank you ,, Yes sure .. still I have The provided animation property "transform" is not a supported CSS property for animations package.json

{
  "name": "angular-universal-firebase",
  "version": "0.0.0",
  "license": "MIT",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build --prod && ng build --prod --app universal --output-hashing=none",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^5.2.6",
    "@angular/common": "^5.2.6",
    "@angular/compiler": "^5.2.6",
    "@angular/core": "^5.2.6",
    "@angular/forms": "^5.2.6",
    "@angular/http": "^5.2.6",
    "@angular/platform-browser": "^5.2.6",
    "@angular/platform-browser-dynamic": "^5.2.6",
    "@angular/platform-server": "^5.2.6",
    "@angular/router": "^5.2.6",
    "core-js": "^2.5.3",
    "rxjs": "^5.5.6",
    "zone.js": "^0.8.20"
  },
  "devDependencies": {
    "@angular/cli": "1.7.1",
    "@angular/compiler-cli": "^5.2.6",
    "@angular/language-service": "^5.2.6",
    "@types/jasmine": "~2.5.53",
    "@types/jasminewd2": "~2.0.2",
    "@types/node": "~6.0.60",
    "codelyzer": "^4.0.1",
    "jasmine-core": "~2.6.2",
    "jasmine-spec-reporter": "~4.1.0",
    "karma": "~1.7.0",
    "karma-chrome-launcher": "~2.1.1",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^1.2.1",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.1.2",
    "ts-node": "~3.2.0",
    "tslint": "~5.7.0",
    "typescript": "~2.5.3"
  }
}

`
===============

functions/package.json

{ "name": "functions", "description": "Cloud Functions for Firebase", "scripts": { "lint": "./node_modules/.bin/eslint .", "serve": "firebase serve --only functions", "shell": "firebase experimental:functions:shell", "start": "npm run shell", "deploy": "firebase deploy --only functions", "logs": "firebase functions:log" }, "dependencies": { "@angular/animations": "^5.2.6", "@angular/common": "^5.2.6", "@angular/compiler": "^5.2.6", "@angular/core": "^5.2.6", "@angular/forms": "^5.2.6", "@angular/http": "^5.2.6", "@angular/platform-browser": "^5.2.6", "@angular/platform-browser-dynamic": "^5.2.6", "@angular/platform-server": "^5.2.6", "@angular/router": "^5.2.6", "domino": "^2.0.1", "express": "^4.16.2", "firebase-admin": "~5.9.0", "firebase-functions": "^0.8.1", "rxjs": "^5.5.6", "zone.js": "^0.8.20" }, "devDependencies": { "eslint": "^4.12.0", "eslint-plugin-promise": "^3.6.0" }, "private": true }