Skip to content

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

Description

@radrad

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions