Open Closed

node_modules/source-map/source-map' not found #2812


User avatar
0
Radoslav created
  • 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

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

4 Answer(s)
  • User Avatar
    0
    uyarbtrlp created

    I have the same issue in other versions such as 5.1, 5.0

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, I guess this problem is related to VS2021, if you use VS2021 as IDE can you try to run the project from CLI (dotnet run)?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Radoslav created

    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.7

    I don't know what is it in the build configuration that complains.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    1
    Radoslav created

    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"

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.