angulardependenciestransloco

Transloco dependency conflict


I am trying to add the Transloco package to my Angular Ionic project which I compile in VSCode. I am running Angular version 13.3.0 When I run the installation command:

ng add @ngneat/transloco

I get the following terminal errors:

Terminal errors

I've tried forcing the individual libraries to update using npm-update --force {package}, then refreshing VSCode, but that didn't resolve the errors.


Solution

  • I just forgot to install the package first. I ran npm install --legacy-peer-deps @ngneat/transloco and then ng add @ngneat/transloco and it let me continue with the library configuration process.