Skip to content

[ts] Cannot find module when project rebuild #22349

@mjbvz

Description

@mjbvz

From @STayinloves on February 28, 2018 7:41

  • VSCode Version:
    Version 1.20.1
    Commit f88bbf9137d24d36d968ea6b2911786bfe103002
    Date 2018-02-13T15:34:36.336Z
    Shell 1.7.9
    Renderer 58.0.3029.110
    Node 7.9.0
    Architecture x64
  • OS Version:

Steps to Reproduce:

  1. Clone https://github.com/Microsoft/Recognizers-Text
  2. cd javascript path
  3. run build script
  4. edit a ts file JavaScript/packages/recognizers-number/src/number/parsers.ts for example
  5. error [ts] Cannot find module '@microsoft/recognizers-text'.

reload vscode the error disappears.

rm -rf node_modules
npm run build

can also reproduce this bug.

Does this issue occur when all extensions are disabled?: Yes

Copied from original issue: microsoft/vscode#44710

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDesign LimitationConstraints of the existing architecture prevent this from being fixedVS Code TrackedThere is a VS Code equivalent to this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions