Skip to content
Discussion options

You must be logged in to vote

Hi @JoepKockelkorn ,

I found this issue on the nut-js repo: nut-tree/nut.js#223

The "solution" was to downgrade to node 15, which isn't really an option (Kit is on node 16/npm 7).

I'm out of town this weekend, so can't really dig into this until next week at my home computer. I guess you could try installing node 15 then manually install in the terminal like so:

cd ~/.kenv
/wherever/node/15/is/bin/npm i @nut-tree/nut-js

Then use import instead of npm:

const { clipboard } = await import("@nut-tree/nut-js");
await clipboard.paste();

That might work. I'll dig in deeper next week.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@JoepKockelkorn
Comment options

@johnlindquist
Comment options

@JoepKockelkorn
Comment options

Answer selected by JoepKockelkorn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Errors
Labels
None yet
2 participants