As I work on enhancing my angular app, I am looking to incorporate social media share buttons. I came across ngx-sharebuttons, which seems to offer the functionality I desire.
However, I am facing issues while trying to build my angular application using the command:
npm i ngx-sharebuttons @angular/cdk
Here is the list of dependencies:
"dependencies": {
"@angular-devkit/core": "11.2.14",
"@angular/animations": "~11.2.14",
...
The Angular version being used is:
Angular CLI: 11.2.14
Node: 14.16.1
OS: linux x64
Angular: 11.2.14
... animations, cli, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1102.14
@angular-devkit/build-angular 0.1102.14
...
When trying to run the app using "ng serve", I encounter the following errors:
Error: ./node_modules/ngx-sharebuttons/fesm2015/ngx-sharebuttons-buttons.js 95:10-28
...
I am following this tutorial: