Skip to content

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

Closed

Description

@ricardochl

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.

Activity

  1. added a commit that references this issue on Feb 1, 2023
    83631e8
  2. added 2 commits that reference this issue on Feb 2, 2023
    df7c7f4
    11be502
  3. angular-automatic-lock-bot commented on Mar 5, 2023

    @angular-automatic-lock-bot

    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.

  4. locked and limited conversation to collaborators on Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions