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

No matching export in "node_modules/.pnpm/rxjs@6.6.7/node_modules/rxjs/_esm5/index.js" for import "mergeMap" #609

Open
1 of 2 tasks
Clashsoft opened this issue Jan 6, 2025 · 2 comments
Assignees
Labels
bug This issue/PR is a bug.
Milestone

Comments

@Clashsoft
Copy link

Bug Report or Feature Request (mark with an x)

  • bug report -> please search for issues before submitting
  • feature request

Versions.

    "@angular/compiler": "^19.0.5",
    "@angular/core": "^19.0.5",
    "keycloak-angular": "^19.0.2",
    "keycloak-js": "^26.0.7",
    "rxjs": "~6.6.7",

Repro steps.

Simplify install and run with given versions.

The log given by the failure.

✘ [ERROR] No matching export in "node_modules/.pnpm/rxjs@6.6.7/node_modules/rxjs/_esm5/index.js" for import "mergeMap"

    node_modules/.pnpm/keycloak-angular@19.0.2_@angular+common@19.0.5_@angular+core@19.0.5_rxjs@6.6.7_zone.js@0.15.0_2u2dmpkpmb7z7z4fdpht5xs2bm/node_modules/keycloak-angular/fesm2022/keycloak-angular.mjs:4:54:
      4 │ import { Subject, from, combineLatest, of, fromEvent, mergeMap as mergeMap$1 } from 'rxjs';
        ╵                                                       ~~~~~~~~

Desired functionality.

No error.

@mauriciovigolo mauriciovigolo self-assigned this Jan 8, 2025
@mauriciovigolo mauriciovigolo added the need-investigation Needs more investigation to identify if it is a bug. label Jan 8, 2025
@kardahim
Copy link

kardahim commented Jan 16, 2025

Hi, I had this issue but I have solution:

  • npm install rxjs@~7.8
  • ng update rxjs
  • ng serve

In package.json:

"@angular/core": "^19.1.0"
"@angular/material": "^19.0.5",
"rxjs": "^7.8.1",
"keycloak-angular": "^19.0.2",
"keycloak-js": "^18.0.1",

@Clashsoft
Copy link
Author

If thats the case than this package should specify rxjs 7 as peer dependency.

@mauriciovigolo mauriciovigolo added bug This issue/PR is a bug. and removed need-investigation Needs more investigation to identify if it is a bug. labels Jan 23, 2025
@mauriciovigolo mauriciovigolo added this to the v19.10.0 milestone Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR is a bug.
Projects
None yet
Development

No branches or pull requests

3 participants