eventhub icon indicating copy to clipboard operation
eventhub copied to clipboard

npm packages sweetalert2 (TS syntax error) and source-map (not found) build errors

Open radrad opened this issue 4 years ago • 0 comments

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

image

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

image

image

radrad avatar Apr 07 '22 09:04 radrad