Skip to content

fix: avert crashes from missing package.json#3064

Closed
rotu wants to merge 1 commit into
serialport:mainfrom
rotu:crude-kiwi
Closed

fix: avert crashes from missing package.json#3064
rotu wants to merge 1 commit into
serialport:mainfrom
rotu:crude-kiwi

Conversation

@rotu

@rotu rotu commented Jul 17, 2025

Copy link
Copy Markdown
Contributor

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
@reconbot

reconbot commented Jan 2, 2026

Copy link
Copy Markdown
Member

Thank you! I'm going with the approach in #3070 as it uses import.

@reconbot reconbot closed this Jan 2, 2026
@rotu rotu deleted the crude-kiwi branch January 2, 2026 16:49
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

2 participants