Skip to content

Imports not resolving at all in some environments for RxJS 7. #6350

Closed
@benlesh

Description

@benlesh

Issue:

When trying to import anything in RxJS 7, in some environments, in particular, stackblitz.com and codesandbox.io, the "rxjs" module does not seem to resolve. It worked fine with [email protected], but not with [email protected]. I suspect the references and the typesVersions addition are to blame. What a mess.

It seems to work fine in most other "real world" environments, from my testing though.

Broken codesandbox

Broken stackblitz

image

Behavior:

Error message: Cannot find module 'rxjs' or its corresponding type declarations.(2307)

Solution: rxjs@7 requires TypeScript 4.2 or higher please update TypeScript.

Metadata

Metadata

Assignees

No one assigned

    Labels

    7.xIssues and PRs for version 7.xbugConfirmed bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions