Skip to content

Bug when local library linked by npm link (lib is not in the npm registry.) #33469

@kolkov

Description

@kolkov

Hi! I try to use local lib on my windows host, I put it to dependencies:
image
but got an error when reinstall after ngcc changes message:
image

Angular CLI: 9.0.0-next.18
Node: 12.6.0
OS: win32 x64
Angular: 9.0.0-next.13
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.0-next.18
@angular-devkit/build-angular     0.900.0-next.18
@angular-devkit/build-optimizer   0.900.0-next.18
@angular-devkit/build-webpack     0.900.0-next.18
@angular-devkit/core              7.3.9
@angular-devkit/schematics        7.3.9
@angular/cli                      9.0.0-next.18
@angular/pwa                      0.13.9
@ngtools/webpack                  9.0.0-next.18
@schematics/angular               7.3.9
@schematics/update                0.900.0-next.18
rxjs                              6.5.3
typescript                        3.6.4
webpack                           4.41.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: compilerIssues related to `ngc`, Angular's template compiler

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions