Skip to content

fix: avert crashes from missing package.json #3064

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rotu
Copy link
Contributor

@rotu rotu commented Jul 17, 2025

Previously npx @serialport/list and npx @serialport/terminal would crash as they would search the local filesystem for package.json to find the version. Now these tools print the correct version.

Fixes #2972

Previously `npx @serialport/list` and `npx @serialport/terminal` would crash as they would search the local filesystem for package.json to find the version. Now these tools print the correct version.
@rotu rotu changed the title Fix crashes from missing package.json fix: avert crashes from missing package.json Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

@serialport/list, @serialport/terminal requires 'package.json' to run
1 participant