abpframework / abpframework/eventhub
npm packages sweetalert2 (TS syntax error) and source-map (not found) build errors
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 243
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
I can report 2 javascript or npm annoing errors when building the solution:
I upgraded the solution projects to 5.2.0. I use VS 2022
This is how I update the solution:
abp update -v 5.2.0
and
abp install-libs
What am I supposed to do? How does abp.io framework build .ts files?
Should I have typescript installed globally? Is gulp.js needed and to run it? Is npm install needed.
1. sweetalert2
Error TS1144 (TS) '{' or ';' expected. EventHub.Web JavaScript Content Files E:\Volosoft\apps\eventhub\src\EventHub.Web\node_modules\sweetalert2\sweetalert2.d.ts

2. source-map not found
Error TS6053 File 'E:/Volosoft/apps/eventhub/src/EventHub.Web/node_modules/source-map/source-map' not found.


Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the build after updating to ABP 5.2.0 with abp update -v 5.2.0 and abp install-libs. Inspect the reported EventHub.Web/node_modules/sweetalert2/sweetalert2.d.ts syntax error and missing node_modules/source-map/source-map path, then determine the required TypeScript, gulp.js, or npm setup. Done means the solution builds without either error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100