- ABP Framework version: v5.2.0-rc.2
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
- Steps to reproduce the issue:"
I generated solution with abp suite v5.2.0-rc.2. I have this error in all web apps: Admin, Public and Identity.
Severity Code Description Project Path File Line Suppression State Error TS6053 File 'D:/Acme.HelpDesktop52/src/Acme.HelpDesktop52.Admin.Web/node_modules/source-map/source-map' not found. The file is in the program because: Root file specified for compilation Acme.HelpDesktop52.Admin.Web JavaScript Content Files 1 Active
Thanks
4 Answer(s)
-
0
I have the same issue in other versions such as 5.1, 5.0
-
0
This is why source map was requested as a deep dependency of abp.aspnetcore.mvc.ui.theme.lepton theme
npm ls source-map my-app@1.0.0 D:\Volosoft\AbpCommercial\Acme.HelpDesktop52\src\Acme.HelpDesktop52.Web.Public
-- @volo/abp.aspnetcore.mvc.ui.theme.lepton@5.2.0-rc.2
-- @volo/abp.aspnetcore.mvc.ui.theme.commercial@5.2.0-rc.2-- @abp/aspnetcore.mvc.ui.theme.shared@5.2.0-rc.2
-- @abp/aspnetcore.mvc.ui@5.2.0-rc.2-- gulp@4.0.2
-- glob-watcher@5.0.5-- anymatch@2.0.0
-- micromatch@3.1.10-- snapdragon@0.8.2
-- source-map@0.5.7I don't know what is it in the build configuration that complains.
-
1
As suggested here: https://developercommunity.visualstudio.com/t/ts6053-node-modulessource-mapsource-map-not-found/1412153
I added bolded text below, closed the solution, opened and rebuild.
Add this to your package.json "dependencies": { "@volo/abp.aspnetcore.mvc.ui.theme.lepton": "^5.2.0-rc.2", "@volo/account": "^5.2.0-rc.2" }, "typings": "source-map.d.ts"