Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After updating to Angular v15 my build broken - issue related to the support of Safari TP versions #24639

Closed
1 task done
ricardochl opened this issue Feb 1, 2023 · 1 comment · Fixed by #24640
Closed
1 task done

Comments

@ricardochl
Copy link
Contributor

ricardochl commented Feb 1, 2023

Command

build

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

14

Description

After updating to Angular v15, my build broke this issue related to the support of Safari TP versions, and It was accidentally introduced in a0f9db8.

Minimal Reproduction

Add unreleased versions to the .browserslistrc file and npm run build

Exception or Error

An unhandled exception occurred: Transform failed with 1 error:
error: Invalid version: "tp.0"
See "/private/var/folders/_1/g7z1fzm54sb_wrdyk00s32580000gn/T/ng-SQbgG6/angular-errors.log" for further details


### Your Environment

```text
_                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 15.1.3
Node: 16.17.0
Package Manager: npm 8.15.0
OS: darwin arm64

Angular: undefined
... 

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1501.3 (cli-only)
@angular-devkit/core         15.1.3 (cli-only)
@angular-devkit/schematics   15.1.3 (cli-only)
@schematics/angular          15.1.3 (cli-only)

Anything else relevant?

I sent PR #24640 to fix it.

ricardochl added a commit to ricardochl/angular-cli that referenced this issue Feb 1, 2023
Fix issue-related to the support of Safari TP versions. This issue was accidentally introduced in angular/angular-cli@a0f9db8

Fixes angular#24639
@alan-agius4 alan-agius4 linked a pull request Feb 1, 2023 that will close this issue
13 tasks
angular-robot bot pushed a commit that referenced this issue Feb 2, 2023
Fix issue-related to the support of Safari TP versions. This issue was accidentally introduced in a0f9db8

Fixes #24639
angular-robot bot pushed a commit that referenced this issue Feb 2, 2023
Fix issue-related to the support of Safari TP versions. This issue was accidentally introduced in a0f9db8

Fixes #24639

(cherry picked from commit df7c7f4)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant