Skip to content

@angular-devkit/core v0.7.5 published with broken typescript declarations #11992

Closed
@vladimiry

Description

@vladimiry

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions

node v8.9.4
yarn v1.9.4
typescript v3.0.1

Repro steps

Just run the build that uses @angular-devkit/core in any way.

The log given by the failure

Error output:

ERROR in node_modules/@angular-devkit/core/src/virtual-fs/host/test.d.ts(36,41): error TS2307: Cannot find module '../../../../../../../../../../../Users/hansl/Sources/hansl/angular-cli/packages/angular_devkit/core/src/virtual-fs/path'.
node_modules/@angular-devkit/core/src/virtual-fs/host/test.d.ts(44,33): error TS2307: Cannot find module '../../../../../../../../../../../Users/hansl/Sources/hansl/angular-cli/packages/angular_devkit/core/src/virtual-fs/path'.

Desired functionality

Declarations were not broken with previous v0.7.4 version.

Mention any other details that might be useful

Here is the workaround, tsconfig.json:

{
  "compilerOptions": {
    "skipLibCheck": true
  },
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions