Open toricctan opened 7 years ago
Sorry package.json setup again:
"dependencies": { "angular/animations": "^4.2.5", "angular/cdk": "github:angular/cdk-builds", "angular/common": "^4.2.5", "angular/compiler": "^4.2.5", "angular/core": "^4.2.5", "angular/flex-layout": "github:angular/flex-layout-builds", "angular/forms": "^4.2.5", "angular/http": "^4.2.5", "angular/material": "github:angular/material2-builds", "angular/platform-browser": "^4.2.5", "angular/platform-browser-dynamic": "^4.2.5", "angular/router": "^4.2.5", "ngrx/effects": "^4.0.2", "ngrx/store": "^4.0.2", "ngrx/store-devtools": "^4.0.0", "amazon-cognito-identity-js": "^1.13.0", "core-js": "^2.4.1", "hammerjs": "^2.0.8", "rxjs": "^5.3.0", "zone.js": "^0.8.12", "crypto-js": "^3.1.9-1", "ts-helpers": "^1.1.1" }, "devDependencies": { "angular/cli": "^1.2.0", "angular/compiler-cli": "^4.2.5", "types/crypto-js": "^3.1.33", "types/jasmine": "2.5.46", "types/node": "~7.0.12", "angular2-template-loader": "^0.6.2", "codelyzer": "~3.0.1", "jasmine-core": "2.5.2", "jasmine-spec-reporter": "2.5.0", "karma": "1.2.0", "karma-chrome-launcher": "^2.0.0", "karma-cli": "^1.0.1", "karma-coverage-istanbul-reporter": "^0.2.0", "karma-jasmine": "^1.0.2", "protractor": "~5.1.0", "ts-node": "~3.0.4", "tslint": "~5.3.2", "typescript": "~2.3.4", "wallaby-webpack": "^0.0.33" }
Hi I am trying to update this project to ngrx4, but with a few errors like:
ERROR in /Users/.../angular-cognito/src/app/modules/services/aws-cognito/user-login/user-login.service.spec.ts (32,29): Argument of type '"_cognitoUserFactory"' is not assignable to parameter of type '"authenticate$" | "forgotPassword$" | "confirmNewPassword$" | "logout" | "isInitAuthenticated$" |...'.
ERROR in /Users/.../angular-cognito/src/app/modules/services/aws-cognito/user-registration/user-registration.service.spec.ts (30,36): Argument of type '"_userPoolFactory"' is not assignable to parameter of type '"register$" | "confirmRegistration$" | "resendCode$"'.
ERROR in /Users/.../angular-cognito/src/app/modules/services/aws-cognito/user-registration/user-registration.service.spec.ts (33,36): Argument of type '"_usernameFactory"' is not assignable to parameter of type '"register$" | "confirmRegistration$" | "resendCode$"'.
ERROR in /Users/.../angular-cognito/src/app/modules/services/aws-cognito/user-registration/user-registration.service.spec.ts (41,36): Argument of type '"_cognitoUserFactory"' is not assignable to parameter of type '"register$" | "confirmRegistration$" | "resendCode$"'.
Not sure what they mean. Could you please give some advice? Please also see my package.json setup. Thank you.
"dependencies": { "@angular/animations": "^4.2.5", "@angular/cdk": "github:angular/cdk-builds", "@angular/common": "^4.2.5", "@angular/compiler": "^4.2.5", "@angular/core": "^4.2.5", "@angular/flex-layout": "github:angular/flex-layout-builds", "@angular/forms": "^4.2.5", "@angular/http": "^4.2.5", "@angular/material": "github:angular/material2-builds", "@angular/platform-browser": "^4.2.5", "@angular/platform-browser-dynamic": "^4.2.5", "@angular/router": "^4.2.5", "@ngrx/effects": "^4.0.2", "@ngrx/store": "^4.0.2", "@ngrx/store-devtools": "^4.0.0", "amazon-cognito-identity-js": "^1.13.0", "core-js": "^2.4.1", "hammerjs": "^2.0.8", "rxjs": "^5.3.0", "zone.js": "^0.8.12", "crypto-js": "^3.1.9-1", "ts-helpers": "^1.1.1" }, "devDependencies": { "@angular/cli": "^1.2.0", "@angular/compiler-cli": "^4.2.5", "@types/crypto-js": "^3.1.33", "@types/jasmine": "2.5.46", "@types/node": "~7.0.12", "angular2-template-loader": "^0.6.2", "codelyzer": "~3.0.1", "jasmine-core": "2.5.2", "jasmine-spec-reporter": "2.5.0", "karma": "1.2.0", "karma-chrome-launcher": "^2.0.0", "karma-cli": "^1.0.1", "karma-coverage-istanbul-reporter": "^0.2.0", "karma-jasmine": "^1.0.2", "protractor": "~5.1.0", "ts-node": "~3.0.4", "tslint": "~5.3.2", "typescript": "~2.3.4", "wallaby-webpack": "^0.0.33" }