-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(init): fix link and npm install #2086
Conversation
122b950
to
d64a7ef
Compare
if (err) { | ||
ui.writeLine(stderr); | ||
ui.writeLine(chalk.red('Package install failed, see above.')); | ||
exitCode = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason you're not rejecting the promise?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy paste from e2e... which means that one is also broken.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed here but not the e2e. I assume it needs further changes and don't wanna mix the two things up.
316aacf
to
f9b1863
Compare
Lgtm |
This is already merged and needs no further look, but I just wanted to say, congratulations and thank you for moving away from the extra local install of in PM. That is a nice initial step toward paring back the dependency count and size. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Currently,
ng new proj --link-cli
breaks the linkedangular-cli
install due to npm/npm#10343.This PR changes our
init
process to link after install, which takes longer but doesn't break dependencies. It also does not use localnpm
and instead uses the globalnpm
since it's what we already use for other commands./cc @hansl