Closed blueiceprj closed 3 years ago
Hey, could you please use the last stable version before 4 (I think 3.5.7)?
I have changed to old version 3.5.7 for now.
Updated the peer dependency list and readme files. Closing this now.
holy crap this is happening to me now.
hello any updates?
Same happened here as well
The solution is to use version 3.5.7 with Angular 11.
The solution is to use version 3.5.7 with Angular 11.
thx u
After downgrading to version 3.5.7 I'm still having this error
Error: node_modules/angularx-social-login/sociallogin.module.d.ts:13:21 - error TS2694: Namespace '"C:/Users/Great Timo/Projects/RCCG/customers/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectorDeclaration'.
static ɵinj: i0.ɵɵInjectorDeclaration
Here is my package.json file
{ "name": "@coreui/coreui-free-angular-admin-template", "version": "2.11.2", "description": "CoreUI Free Angular 11 Admin Template", "author": { "name": "Łukasz Holeczek", "url": "http://holeczek.pl", "github": "https://github.com/mrholek", "twitter": "https://twitter.com/lukaszholeczek" }, "contributors": [ { "name": "Andrzej Kopański", "url": "https://github.com/xidedix" } ], "homepage": "#/angular", "copyright": "Copyright 2021 creativeLabs Łukasz Holeczek", "license": "MIT", "scripts": { "ng": "ng", "postinstall": "ngcc --properties es2015 browser module main --first-only", "start": "ng serve", "build": "ng build --prod --aot --build-optimizer --common-chunk --vendor-chunk --optimization --progress", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "^11.2.5", "@angular/cdk": "^11.2.4", "@angular/common": "^11.2.5", "@angular/compiler": "^11.2.10", "@angular/core": "^11.2.5", "@angular/forms": "^11.2.5", "@angular/localize": "^11.2.5", "@angular/platform-browser": "^11.2.5", "@angular/platform-browser-dynamic": "^11.2.5", "@angular/router": "^11.2.5", "@auth0/angular-jwt": "^5.0.2", "@ckeditor/ckeditor5-angular": "^2.0.1", "@ckeditor/ckeditor5-build-classic": "^27.1.0", "@coreui/angular": "^2.11.2", "@coreui/coreui": "^2.1.16", "@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.3.1", "@coreui/icons": "^2.0.0-rc.0", "@coreui/icons-angular": "1.0.0-alpha.3", "@types/gapi": "^0.0.41", "@types/gapi.auth2": "^0.0.55", "angularx-social-login": "^3.5.7", "bootstrap": "^4.6.0", "chart.js": "^2.9.4", "classlist.js": "^1.1.20150312", "core-js": "^3.9.1", "flag-icon-css": "^3.5.0", "font-awesome": "^4.7.0", "ng2-charts": "^2.4.2", "ngx-bootstrap": "^6.2.0", "ngx-pagination": "^5.1.1", "ngx-perfect-scrollbar": "^10.1.0", "ngx-toastr": "^14.0.0", "rxjs": "^6.6.6", "simple-line-icons": "^2.5.5", "ts-helpers": "^1.1.2", "tslib": "^2.0.0", "web-animations-js": "^2.3.2", "zone.js": "~0.10.3" }, "devDependencies": { "@angular-devkit/build-angular": "^0.1102.9", "@angular/cli": "^11.2.4", "@angular/compiler-cli": "^11.2.5", "@angular/language-service": "^11.2.5", "@types/jasmine": "^3.6.6", "@types/jasminewd2": "^2.0.8", "@types/node": "^14.14.33", "codelyzer": "^6.0.0", "jasmine-core": "~3.6.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~5.2.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.0.3", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "protractor": "~7.0.0", "ts-node": "^8.10.2", "tslint": "~6.1.0", "typescript": "~4.1.5" }, "engines": { "node": ">= 10.13", "npm": ">= 6" } }
i changed to version 3.5.7 and the error was fixed.
After update to new version I get this error on compile. Angular 11.X
Error: node_modules/angularx-social-login/socialauth.service.d.ts:59:21 - error TS2694: Namespace '"...../node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.
59 static ɵfac: i0.ɵɵFactoryDeclaration<SocialAuthService, never>;
Error: node_modules/angularx-social-login/sociallogin.module.d.ts:11:21 - error TS2694: Namespace '"......../node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.
11 static ɵfac: i0.ɵɵFactoryDeclaration<SocialLoginModule, [{ optional: true; skipSelf: true; }]>;
Error: node_modules/angularx-social-login/sociallogin.module.d.ts:13:21 - error TS2694: Namespace '"......../node_modules/@angular/core/core"' has no exported member 'ɵɵInjectorDeclaration'.
13 static ɵinj: i0.ɵɵInjectorDeclaration;