Skip to content
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

Temporary install during update process shows yarn warning messages #16014

Closed
filipesilva opened this issue Nov 1, 2019 · 1 comment · Fixed by #16041
Closed

Temporary install during update process shows yarn warning messages #16014

filipesilva opened this issue Nov 1, 2019 · 1 comment · Fixed by #16041

Comments

@filipesilva
Copy link
Contributor

filipesilva commented Nov 1, 2019

This issue impact 9.0.0-rc.0.

When yarn is used for the update, engine warning messages are shown for the temporary CLI version install.

$ ng update @angular/cli @angular/core --next
The installed Angular CLI version is older than the latest published version.
Installing a temporary version to perform the update.
Installing packages for tooling via yarn.
warning @angular-devkit/architect@0.900.0-rc.0: The engine "pnpm" appears to be invalid.
warning @angular-devkit/schematics@9.0.0-rc.0: The engine "pnpm" appears to be invalid.
warning @angular-devkit/core@9.0.0-rc.0: The engine "pnpm" appears to be invalid.
warning @schematics/angular@9.0.0-rc.0: The engine "pnpm" appears to be invalid.
warning @schematics/update@0.900.0-rc.0: The engine "pnpm" appears to be invalid.
warning @angular/cli@9.0.0-rc.0: The engine "pnpm" appears to be invalid.
Installed packages for tooling via yarn.
Using package manager: 'yarn'
...

This does not happen for npm, and is due to a bug in yarn: yarnpkg/yarn#7566

But we shouldn't be showing any messages at all for that temporary install.

This happened while updating https://github.com/johannesjo/super-productivity

@filipesilva filipesilva added this to the 9.0.x milestone Nov 1, 2019
clydin added a commit to clydin/angular-cli that referenced this issue Nov 2, 2019
clydin added a commit to clydin/angular-cli that referenced this issue Nov 5, 2019
clydin added a commit to clydin/angular-cli that referenced this issue Nov 20, 2019
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant