Here you will find a couple of things that I did, I'm working or I will start to work, haha
Feel free to contribute, comunicate or send some jokes or memes to have fun :)
Library that facilitates the management of canonical links, structured data, metatags and the title of web pages built in Angular.
License: MIT License
Using Angular 9.0
After install package and build
getting error Generic type 'ɵɵFactoryDef' requiresuires 1 type argument(s).
Is anything missing from my side ?
Problem
After Angular 11 to 12 upgrade, the following error is displayed:
Error: node_modules/ngx-seo-page/lib/page.service.d.ts:24:21 - error TS2694: Namespace '"/angular/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDef'.
24 static ɵfac: i0.ɵɵFactoryDef<PageService, never>;
~~~~~~~~~~~~
Error: node_modules/ngx-seo-page/lib/page.service.d.ts:25:22 - error TS2724: '"/angular/node_modules/@angular/core/core"' has no exported member named 'ɵɵInjectableDef'. Did you mean 'ɵgetInjectableDef'?
25 static ɵprov: i0.ɵɵInjectableDef;
To Reproduce
Local run of one basic Angular 12 app:
ng serve --configuration=development --host 0.0.0.0 --disable-host-check
My packages:
"dependencies": {
"@angular/animations": "^12.2.15",
"@angular/cdk": "^11.2.13",
"@angular/common": "^12.2.15",
"@angular/compiler": "^12.2.15",
"@angular/core": "^12.2.15",
"@angular/forms": "^12.2.15",
"@angular/google-maps": "^11.2.13",
"@angular/material": "^11.2.13",
"@angular/platform-browser": "^12.2.15",
"@angular/platform-browser-dynamic": "^12.2.15",
"@angular/platform-server": "~12.2.15",
"@angular/router": "^12.2.15",
"@nguniversal/express-engine": "^12.1.2",
"angular-google-tag-manager": "^1.4.2",
"domino": "^2.1.6",
"express": "^4.15.2",
"ng-lazyload-image": "^9.1.0",
"ngx-cookie-service": "^12.0.3",
"ngx-seo-page": "^2.0.2",
"ngx-spinner": "^12.0.0",
"rxjs": "^6.6.7",
"tslib": "^2.3.1",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^12.2.14",
"@angular/cli": "^12.2.14",
"@angular/compiler-cli": "^12.2.15",
"@nguniversal/builders": "^12.1.3",
"@ngxs/devtools-plugin": "^3.7.2",
"@ngxs/store": "^3.7.2",
"@types/express": "^4.17.13",
"@types/jasmine": "^3.10.1",
"@types/node": "^12.20.36",
"codelyzer": "^6.0.2",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~6.3.9",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.7.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "4.3.5"
}
Expected behavior
No error in compilation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.