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

Missing vite dependency #29921

Closed
1 task done
bgotink opened this issue Mar 24, 2025 · 1 comment
Closed
1 task done

Missing vite dependency #29921

bgotink opened this issue Mar 24, 2025 · 1 comment

Comments

@bgotink
Copy link
Contributor

bgotink commented Mar 24, 2025

Command

ø

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

18.2.13

Description

#29522 removed the vite dependency from @angular-devkit/build-angular, but that's a required peer dependency of @vitejs/plugin-basic-ssl.

Image

Currently we "fix" this in our projects by adding the following extension in yarn:

packageExtensions:
  "@vitejs/plugin-basic-ssl@*":
    peerDependenciesMeta:
      vite:
        optional: true

Minimal Reproduction

Use a strict package manager (e.g. yarn 4), install @angular-devkit/build-angular, notice warning.

Exception or Error


Your Environment

yarn 4, @angular-devkit/* 18.2.15

Anything else relevant?

No response

alan-agius4 added a commit to alan-agius4/angular-cli that referenced this issue Mar 25, 2025
… from dependencies

This dependency is not used in this package.

Closes angular#29921
alan-agius4 added a commit that referenced this issue Mar 25, 2025
… from dependencies

This dependency is not used in this package.

Closes #29921
@alan-agius4
Copy link
Collaborator

Closed via #29928

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants