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

Attempting read on Windows 10 throws error due to vbs path issue #8

Closed
jamespatrickwhite opened this issue Mar 19, 2017 · 0 comments
Closed

Comments

@jamespatrickwhite
Copy link

Attempting to test the following script on Windows 10:
const clipboardy = require('clipboardy');
console.log('clipboard test: ',clipboardy.readSync());

Causes an error to be thrown on node_modules\execa\index.js:275
throw (result.error || new Error(result.stderr === '' ? result.stdout : result.stderr));
Error: Input Error: Can not find script file "C:\test\clipboard\fallbacks\win-read.vbs".

It looks like part of the path is missing, as the file is really under "C:\test\clipboard\node_modules\clipboardy\fallbacks\win-read.vbs"

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

1 participant