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

How to combine with pkg? #37

Open
rienheuver opened this issue Sep 24, 2020 · 2 comments
Open

How to combine with pkg? #37

rienheuver opened this issue Sep 24, 2020 · 2 comments

Comments

@rienheuver
Copy link

I made a very simple program that presses the 'delete' key when I play a certain MIDI-note on my instrument, for a personal application. I built the program with pkg (https://github.com/vercel/pkg) but it won't work because it can't find the jar.
Error: Unable to access jarfile C:\snapshot\midiDelete\node_modules\node-key-sender\jar\key-sender.jar
where midiDelete is the name of my repository. This is the output I get when I run the .exe after building it with pkg.
Any ideas how to fix this?

@rienheuver
Copy link
Author

I found a workaround to this problem by simply creating the actual path as mentioned above and putting the jar-file there. So it's not packaged with the executable as I'd prefer, but at least it works for now.

@MrCloudz
Copy link

Try reinstalling the npm module.

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

No branches or pull requests

2 participants