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

[bug report] Invalid package version in version 5.0.2 #1103

Open
5 tasks done
sebastiencrevier opened this issue Feb 6, 2024 · 3 comments
Open
5 tasks done

[bug report] Invalid package version in version 5.0.2 #1103

sebastiencrevier opened this issue Feb 6, 2024 · 3 comments

Comments

@sebastiencrevier
Copy link

REQUIRED: Before filing a bug report

Change each [ ] to [x] when you have done it.

Describe the bug (required)

Wrong package version on npm install:

Invalid tag name ">=^16.0.0 <=^17.0.0" of package "@angular/animations@>=^16.0.0 <=^17.0.0": Tags may not have any characters that encodeURIComponent encodes.

To Reproduce (required)

Steps to reproduce the behavior:

  1. npm install

Versions (required)

Please state which versions of the following packages you have installed:

  • @angular/core: 17.0.8
  • ng2-dragula: 5.0.2
@jelenaseovic
Copy link

Could we anticipate an update regarding this issue in the near future?

@kut
Copy link

kut commented Apr 1, 2024

would this just be a tweak to instead use ">=16.0.0 <18.0.0" for the Angular dependencies, @valorkin / @joeskeen ?

without it, can't upgrade app to Angular 17

@joeskeen
Copy link
Contributor

joeskeen commented Apr 1, 2024

I've just added this to my package.json in the meantime:

  "overrides": {
    "ng2-dragula": {
      "@angular/common": "$@angular/common",
      "@angular/core": "$@angular/core",
      "@angular/animations": "$@angular/animations"
    }
  }

You'll probably have to use --force when running the update command found at https://update.angular.io

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

4 participants