• 19-01-2023, 11:22:56
    #1
    Merhabalar, Angularda bir proje yazdım ios ve android çıktısınıda ionic kullanarak alabiliyorum. Fakat anguları bilen bilir seo konusunda tam bir baş belası. Google tarafından sayfalar indexlenmiyor. Bunun için ssr kurmak gerekiyor. Boş bir angular projesine ssr kurabiliyorum. Fakat çalıştığım ve bitirdiğim bir projeye ssr kurarken türlü türlü npm hataları alıyorum. Anlayan var mı aramızda bu durumdan...
  • 19-01-2023, 11:29:18
    #3
    macbook@Macbook-MacBook-Pro app % ng add @ng-toolkit/universal
    ℹ Using package manager: npm
    ✔ Found compatible package version: @ng-toolkit/universal@1.1.21.
    ✔ Package information loaded.

    The package @ng-toolkit/universal@1.1.21 will be installed and executed.
    Would you like to proceed? Yes
    npm ERR! code ERESOLVE
    npm ERR! ERESOLVE could not resolve
    npm ERR!
    npm ERR! While resolving: angularx-qrcode@14.0.0
    npm ERR! Found: @angular/core@15.1.0
    npm ERR! node_modules/@angular/core
    npm ERR! peer @angular/core@"15.1.0" from @angular/animations@15.1.0
    npm ERR! node_modules/@angular/animations
    npm ERR! peerOptional @angular/animations@"15.1.0" from @angular/platform-browser@15.1.0
    npm ERR! node_modules/@angular/platform-browser
    npm ERR! peer @angular/platform-browser@"15.1.0" from @angular/forms@15.1.0
    npm ERR! node_modules/@angular/forms
    npm ERR! @angular/forms@"^15.1.0" from the root project
    npm ERR! 3 more (@angular/platform-browser-dynamic, @angular/router, the root project)
    npm ERR! @angular/animations@"^15.1.0" from the root project
    npm ERR! peer @angular/core@"15.1.0" from @angular/common@15.1.0
    npm ERR! node_modules/@angular/common
    npm ERR! peer @angular/common@"15.1.0" from @angular/forms@15.1.0
    npm ERR! node_modules/@angular/forms
    npm ERR! @angular/forms@"^15.1.0" from the root project
    npm ERR! peer @angular/common@"15.1.0" from @angular/platform-browser@15.1.0
    npm ERR! node_modules/@angular/platform-browser
    npm ERR! peer @angular/platform-browser@"15.1.0" from @angular/forms@15.1.0
    npm ERR! node_modules/@angular/forms
    npm ERR! @angular/forms@"^15.1.0" from the root project
    npm ERR! 3 more (@angular/platform-browser-dynamic, @angular/router, the root project)
    npm ERR! 4 more (@angular/platform-browser-dynamic, @angular/router, ...)
    npm ERR! 7 more (@angular/compiler, @angular/forms, ...)
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! peer @angular/core@"^14.0.0" from angularx-qrcode@14.0.0
    npm ERR! node_modules/angularx-qrcode
    npm ERR! angularx-qrcode@"^14.0.0" from the root project
    npm ERR!
    npm ERR! Conflicting peer dependency: @angular/core@14.2.12
    npm ERR! node_modules/@angular/core
    npm ERR! peer @angular/core@"^14.0.0" from angularx-qrcode@14.0.0
    npm ERR! node_modules/angularx-qrcode
    npm ERR! angularx-qrcode@"^14.0.0" from the root project
    npm ERR!
    npm ERR! Fix the upstream dependency conflict, or retry
    npm ERR! this command with --force, or --legacy-peer-deps
    npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
    npm ERR!
    npm ERR! See /Users/macbook/.npm/eresolve-report.txt for a full report.

    npm ERR! A complete log of this run can be found in:
    npm ERR! /Users/macbook/.npm/_logs/2023-01-19T18_48_34_842Z-debug-0.log
    ✖ Packages installation failed, see above.


    yardımcı olursanız çok iyi olur hocam