-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Milestone
Description
Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Command (mark with an x)
- [x] all
Repro steps
Our angular/cli project ist located as one package of a larger lerna monorepo. We also make use of yarn workspaces, so all (or most) dependencies are hoisted within one single root node_modules folder. The resulting structure is something like
- node_modules <-- angular dependencies installed here
- @angular
- cli
- core
- ...
- packages
- angular-app
- package.json <-- angular dependencies defined here
- src
- ....
- package.json <-- no angular dependencies defined here
this line now (as of 6.1.0) prevents the project from working (at all) because relativePotential.startsWith('..') === true because in our structure relativePotential = ../../node_modules/@angular/core/package.json
everything was working fine with 6.0.8
The log given by the failure
You seem to not be depending on "@angular/core" and/or "rxjs". This is an error.
Desired functionality
I can work on my angular project with latest versions of everything
fabianbru, hunhavoc, michaellieberherr, jSchez, weini01 and 12 more