[Fixed] UnhandledPromiseRejectionWarning: HookWebpackError: Transform failed with 1 error: error: Invalid version: "15.2-15.3"

1. Replace your .browserslistrc with the following code 


# You can see what browsers were selected by your queries by running:

#   npx browserslist


last 1 Chrome version

last 1 Firefox version

last 2 Edge major versions

last 2 Safari major versions

last 2 iOS major versions

Firefox ESR

not IE 9-10 # Angular support for IE 9-10 has been deprecated and will be removed as of Angular v11. To opt-in, remove the 'not' prefix on this line.

not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

not ios_saf 15.2-15.3

not safari 15.2-15.3

Reactions

Post a Comment

1 Comments

If you have any question please ask?