ng update @angular/cli fails with npm link'ed module #10746
Labels
area: angular/cli
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
Versions
I have a project which uses
npm link
to pull in a shared library "@ teachtown/shared"^, which is TS source code, not transpiled / packaged as JS. The intention is that this library will be used in multiple projects.^ space after "@" so that github doesn't try to parse as user/project
I'm trying to upgrade the consuming project, Angular 5.2.5 => 6, following the instructions provided on https://update.angular.io/.
I reached the following steps, and got an error:
(Aside: I had to update the second command to
npm install @angular/cli --save-dev
for it to properly update CLI in my project.)Note that @ teachtown/shared does exist:
Repro steps
see above description
Observed behavior
see above description
Desired behavior
One of the following:
ng generate library
.Mention any other details that might be useful (optional)
The text was updated successfully, but these errors were encountered: