Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

nodenext alternates between finding and not finding the imported package聽#46396

Copy link
Copy link
@ilogico

Description

@ilogico
Issue body actions

Bug Report

馃攷 Search Terms

  • node12
  • nodenext

馃晽 Version & Regression Information

4.5.0-dev.20211016

  • I was unable to test this on prior versions because this nodenext modules will only become available in 4.5

馃捇 Code

It needs a monorepo setup to reproduce. I made a small repository: https://github.com/ilogico/ts-nodenext-bug

This happens all the time when editing a file, but it's hard to reproduce in a deterministic way.

I reproduce it here by toggling line comments back and forth:
bug

馃檨 Actual behavior

The language service says it cannot find the module or it's corresponding type declarations after having correctly resolved the module.

馃檪 Expected behavior

The module stays resolved.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.