Skip to content

Visual Studio 2015 with TS2.0 gives incorrect @types path resolution errors #9662

Closed
@falsandtru

Description

@falsandtru

@types path resolution and importing is succeeding, but these errors occurred on Visual Studio after a few minutes.

TypeScript Version: 2.0.0 with VS2015

Severity    Code    Description Project File    Line    Suppression State
Error   TS2688  Cannot find type definition file for '[
  "...\\localsocket/node_modules/@types\\empower",
  "...\\localsocket/node_modules/@types\\mocha",
  "...\\localsocket/node_modules/@types\\power-assert",
  "...\\localsocket/node_modules/@types\\power-assert-formatter"
]'. localsocket     1   Active
Error   TS2688  Cannot find type definition file for '[
  "...\\localsocket/node_modules/@types\\empower",
  "...\\localsocket/node_modules/@types\\mocha",
  "...\\localsocket/node_modules/@types\\power-assert",
  "...\\localsocket/node_modules/@types\\power-assert-formatter"
]'. localsocket     1   Active

I'll share this project for repro if necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    @typesRelates to working with .d.ts files (declaration/definition files) from DefinitelyTypedBugA bug in TypeScriptVisual StudioIntegration with Visual Studio

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions