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

pnpm up when [ESC} gets: Cannot read properties of undefined (reading 'code') #4889

Open
unional opened this issue Jun 15, 2022 · 2 comments

Comments

@unional
Copy link

unional commented Jun 15, 2022

pnpm version: 7.1.9

Code to reproduce the issue:

Press [ESC] when selecting which package to install:

pnpm up -i --filter *
Scope: all 18 workspace projects
× Choose which packages to update (Press <space> to select, <a> to toggle all, <i> to invert selection) · No items were selected
Cannot read properties of undefined (reading 'code')

Expected behavior:

No error message

  • node -v prints: 16.15.0
  • Windows, macOS, or Linux?: Windows
@mcmxcdev
Copy link
Contributor

This issue was most likely fixed with https://github.com/pnpm/pnpm/releases/tag/v7.4.0

Can you check and provide an update with the latest pnpm version?

@unional
Copy link
Author

unional commented Jul 2, 2022

It doesn't crash now, but the behavior is not right. It said ctrl+c to cancel, but pressing esc prints a update canceled without doing anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants