[GH-ISSUE #196] Product of "npm run dist" incompatible with node-serialport #130

Closed
opened 2026-05-05 11:46:37 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @kfatehi on GitHub (Feb 3, 2019).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/196

Hi I have created an example project here:

https://github.com/kfatehi/proton-native-serialport-issue

This project works fine when working on it with npm start

node_osi1qihxbt

But when you use npm run dist and execute the unpacked or the installed binary, it throws this error:

protonserialport_dgric9fksq

Originally created by @kfatehi on GitHub (Feb 3, 2019). Original GitHub issue: https://github.com/kusti8/proton-native/issues/196 Hi I have created an example project here: https://github.com/kfatehi/proton-native-serialport-issue This project works fine when working on it with `npm start` ![node_osi1qihxbt](https://user-images.githubusercontent.com/175305/52184745-f42dd700-27cb-11e9-9fb9-eee23b632c62.png) But when you use `npm run dist` and execute the unpacked or the installed binary, it throws this error: ![protonserialport_dgric9fksq](https://user-images.githubusercontent.com/175305/52184743-f09a5000-27cb-11e9-9fde-96df31f76453.png)
Author
Owner

@kusti8 commented on GitHub (Feb 16, 2019):

This is more of an electron-builder problem. I suggest you open up an issue there where they can better help you.

<!-- gh-comment-id:464371386 --> @kusti8 commented on GitHub (Feb 16, 2019): This is more of an electron-builder problem. I suggest you open up an issue there where they can better help you.
Author
Owner

@kfatehi commented on GitHub (Feb 16, 2019):

@kusti8 Ok thanks I'll make some noise over there instead.

<!-- gh-comment-id:464397646 --> @kfatehi commented on GitHub (Feb 16, 2019): @kusti8 Ok thanks I'll make some noise over there instead.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#130
No description provided.