Skip to content

es-build regression 17.1.0-next.0 rebuild causes "the request url "..." is outside of Vite serving allow list." #26555

Closed

Description

@LanderBeeuwsaert

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

17.0.5

Description

When having @angular-devkit/build-angular:browser-esbuild on
with build-angular and angular/cli on 17.1.0-next.0
any dev server rebuild causes:
The request url "..." is outside of Vite serving allow list for all assets

Minimal Reproduction

I suppose it's down to my configuration somehow, but there's nothing that special to it.
reversing to 17.0.5 immediately solves this

Exception or Error

No response

Your Environment

Angular CLI: 17.1.0-next.0
Node: 18.15.0
Package Manager: npm 9.8.1
OS: win32 x64

Angular: 17.0.5
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package                              Version
--------------------------------------------------------------
@angular-devkit/architect            0.1701.0-next.0
@angular-devkit/build-angular        17.1.0-next.0
@angular-devkit/core                 16.2.6
@angular-devkit/schematics           16.2.6
@angular/cdk                         16.2.12
@angular/cli                         17.1.0-next.0
@angular/fire                        16.0.0
@angular/google-maps                 16.2.12
@angular/material                    16.2.12
@angular/material-date-fns-adapter   16.2.12
@angular/youtube-player              16.2.12
@bazel/typescript                    5.8.1
@schematics/angular                  16.2.6
rxjs                                 7.8.1
typescript                           5.2.2
zone.js                              0.14.2

Anything else relevant?

No response

Activity

  1. alan-agius4 commented on Dec 1, 2023

    @alan-agius4
    Collaborator

    You can please share you assets configuration?

  2. added
    needs: more info
    on Dec 1, 2023
  3. LanderBeeuwsaert commented on Dec 1, 2023

    @LanderBeeuwsaert
    Author

    @alan-agius4 not entirely sure, but is this what you mean, at the start of angular.json?

    image
  4. removed
    needs: more info
    on Dec 5, 2023
  5. alan-agius4 commented on Dec 5, 2023

    @alan-agius4
    Collaborator

    This should be fixed by #26556 which will be available on NPM later this week.

  6. hillin commented on Dec 12, 2023

    @hillin

    In my case this seems fixed when running ng serve, but the same error occurs when hot reload is triggered.

    "@angular/cli": "17.1.0-next.1"
  7. LanderBeeuwsaert commented on Dec 12, 2023

    @LanderBeeuwsaert
    Author

    @hillin see the linked ticket #26624 , it's solved there, should probably be released this week

  8. angular-automatic-lock-bot commented on Jan 12, 2024

    @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.

  9. locked and limited conversation to collaborators on Jan 12, 2024
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