-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
ps-list 6.x is not working anymore using pkg due to embedded exe #23
Comments
Sure it is: https://github.com/MarkTiedemann/fastlist
I'm not interested complicating it with a fallback. This module works perfectly with normal Node.js usage. It's up to |
I was expecting this anwser, but it was worth trying :) I stuck to the 5.x version for now, but I'm not comfortable not keeping my dependencies up to date. |
@Congelli501 Feel free to use the underlying I also believe |
Just for reference: even if one insert the executable in pkg asset list, it will not work. See: vercel/pkg#1002
and
The simplest solution would be to specify the "bin" folder in options.
|
I use pkg to package my node application into a single file.
Anything other than required js code is not embedded into the final build.
I chose ps-list because it was written purely in JS, but it's not the case anymore, for the Windows platform.
Using a prebuild exe may also cause problem on non x86 platforms, and, as the source code is not provided in the source tree, ps-list is not fully open source anymore (but that's easy to fix).
If possible, please go back to a pure js code, or provide a fallback mecanism if running the embedded exe doesn't work.
Here is the obvious and uninteresting error:
The text was updated successfully, but these errors were encountered: