Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
- ABP Framework version: v5.1.3
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:After updating my project's version* from v4.4.0 to v5.1.3** . These two errors I am getting.*
- (CS1061) : "IApiScopeRepository" does not contain a definition for "GetByNameAsync" and no accessible of type "IApiScopeRepository" could be found (are you missing a using directive or an assembly reference?)
- (TS6053) : File 'ProjectsPath /src/Project.Web/node_modules/source-map/source-map' not found. The file is in the program because Root file specified for compilation. "Project.Web JavaScript Content Files"
- Steps to reproduce the issue:
3 Answer(s)
-
1
Hi @krushnakant
Have you followed Migrations Guide properly? https://docs.abp.io/en/abp/latest/Migration-Guides/Abp-5_0#identityserver
IApiScopeRepository.GetByNameAsync method renamed as FindByNameAsync.
For the second problem, please try to execute
abp install-libs
command under your Project.Web folder. -
0
Hi @enisn
Thanks for this guide https://docs.abp.io/en/abp/latest/Migration-Guides/Abp-5_0#identityserver and also for first problem.
I have followed https://docs.abp.io/en/abp/4.3/Migration-Guides/Upgrading-Startup-Template . As you suggested https://docs.abp.io/en/abp/latest/Migration-Guides/Abp-5_0#identityserver I'll do additional breaking changes from this guide.
But I am still getting second problem [ (TS6053) : File 'ProjectsPath /src/Project.Web/node_modules/source-map/source-map' not found. The file is in the program because Root file specified for compilation. "Project.Web JavaScript Content Files"] after tried abp install-libs in Project.Web folder.
-
0
Can you try to execute
yarn
command before runningabp install-libs