Windows clipboard copying doesn't work when using pkg to create a snapshot
LinkTree3 opened this issue · 1 comments
I'm on windows 10 and node 8.10.0
Here's the error I am getting when I create a binary snapshot using pkg(https://www.npmjs.com/package/pkg):
{ Error: write EPIPE
at _errnoException (util.js:1024:11)
at Socket._writeGeneric (net.js:767:25)
at Socket._write (net.js:786:8)
at doWrite (_stream_writable.js:387:12)
at writeOrBuffer (_stream_writable.js:373:5)
at Socket.Writable.write (_stream_writable.js:290:11)
at Socket.write (net.js:704:40)
at Socket.Writable.end (_stream_writable.js:553:10)
at Socket.end (net.js:496:31)
at handleInput (C:\snapshot\package_name\node_modules\execa\index.js:75:17)
code: 'EPIPE',
errno: 'EPIPE',
syscall: 'write',
killed: false,
stdout: '',
stderr: '',
failed: true,
signal: null,
cmd: 'C:\snapshot\package_name\node_modules\clipboardy\fallbacks\windows\clipboard_x86_64.exe --copy',
timedOut: false }
I am not sure what is causing this issue, It works otherwise if I run the code as is without creating a snapshot.
Can anyone please help me?
Thank you!
IssueHunt Summary
sindresorhus has been rewarded.
Backers (Total: $40.00)
- issuehunt ($40.00)
Submitted pull Requests
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
IssueHunt has been backed by the following sponsors. Become a sponsor
This should be reported at https://github.com/zeit/pkg/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc It's up to pkg
to support Node.js packages, not the other way around.