Replies: 2 comments 1 reply
-
I believe this is an issue with the module version of Jimp (potentially related issue). I was able to get Jimp working by adding this to your
and then changing the source to
and then importing Jimp like so
Unfortunately, since the library you are using is depending on |
Beta Was this translation helpful? Give feedback.
-
Hi @ChekTek Thank you so much for the detailed solution. Unfortunately, I was not able to make it work. In any case, this is my full rollup.config.mjs. Maybe I made a mistake!?
|
Beta Was this translation helpful? Give feedback.
-
I am trying out the Stream Deck SDK with JavaScript.
For my project, I want to be able to send key presses. Basically like a macro.
The only maintained solution that I found is https://github.com/nut-tree/nut.js.
However, when I am adding this dependency Rollup is acting up and I am struggling to resolve it.
The issue seems to be jimp, which is a dependency of nut-js:
When I follow the link, it says to use
nodeResolve()
which is already configured in the rollup.config.mjs.Unfortunately, my Rollup knowledge is very limited.
Other ways to achieve key presses and ideally mouse clicks within a JavaScript plugin are appreciated as well.
Beta Was this translation helpful? Give feedback.
All reactions