Reputation: 39
I'm trying to use the angular-cli source downloaded from the repo as the global package for all @angular and @angular-devkit packages. The README for @angular/cli recommends running yarn link
from dist/ and then yarn link @angular/cli
for example from the project directory. However, the package files in angular-cli/dist do not contain a node_modules directory, so I get runtime errors when node loads packages w/ missing dependencies. Hope that makes sense.
My question is can anyone recommend a configuration that works so that I can use the angular-cli source as my global @angular and @angular-devkit package? Or is this just an error in angular-cli build, should npm build create package dependencies in angular-cli/dist?
Upvotes: 0
Views: 171