Open Closed

Bug while adding Payment module to angular #7303


User avatar
0
franciscokadzi@gmail.com created
  • ABP Framework version: v8.1.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: @volo/abp.ng.payment@8.1.3 npm WARN Found: @abp/ng.theme-shared@undefined npm WARN node_modules/@abp/ng.theme-shared npm WARN npm WARN Could not resolve dependency: npm WARN peer @abp/ng.theme-shared@">=8.1.3" from @volo/abp.ng.payment@8.1.3 npm WARN node_modules/@volo/abp.ng.payment npm WARN @volo/abp.ng.payment@"~8.1.3" from the root project npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@abp%2
  • Steps to reproduce the issue:
  • We used the steps at this link to install the payment module but we got the error above
  • https://docs.abp.io/en/commercial/latest/modules/payment#installation

the issue seems to be with _modules/@abp/ng.theme-shared. npm is expecting _modules/@abp/ng.theme-shared but what is actually installed is _modules/@abp/ng.theme.shared


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can try to install the Yarnv1.20+ (not v2).

    then run yarn install command to restore the packages

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11