Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Cannot find the device specified #4

Open
jtara1 opened this issue Aug 5, 2019 · 4 comments
Open

Cannot find the device specified #4

jtara1 opened this issue Aug 5, 2019 · 4 comments

Comments

@jtara1
Copy link

jtara1 commented Aug 5, 2019

Before I was getting an error: device must be a string, but after attempting to fix I get this error.

C:\Users\James\Documents\_Github-Projects\albion-trader\index.js:21
    linkType = cap.open(String(device), filter, bufSize, buffer);
                   ^

Error: Error opening adapter: The system cannot find the device specified. (20)
    at C:\Users\James\Documents\_Github-Projects\albion-trader\index.js:21:20
    at C:\Users\James\Documents\_Github-Projects\albion-trader\node_modules\network\lib\index.js:109:11
    at C:\Users\James\Documents\_Github-Projects\albion-trader\node_modules\network\lib\win32.js:15:7
    at Object.callback (C:\Users\James\Documents\_Github-Projects\albion-trader\node_modules\wmic\index.js:244:7)
    at C:\Users\James\Documents\_Github-Projects\albion-trader\node_modules\wmic\node_modules\async\dist\async.js:1312:26
    at C:\Users\James\Documents\_Github-Projects\albion-trader\node_modules\wmic\node_modules\async\dist\async.js:323:20
    at C:\Users\James\Documents\_Github-Projects\albion-trader\node_modules\wmic\index.js:219:9
    at err (C:\Users\James\Documents\_Github-Projects\albion-trader\node_modules\wmic\node_modules\async\dist\async.js:2939:19)
    at wrapper (C:\Users\James\Documents\_Github-Projects\albion-trader\node_modules\wmic\node_modules\async\dist\async.js:270:20)
    at iteratorCallback (C:\Users\James\Documents\_Github-Projects\albion-trader\node_modules\wmic\node_modules\async\dist\async.js:497:17)

Process finished with exit code 1
@rsxdalv
Copy link
Owner

rsxdalv commented Aug 5, 2019 via email

@jtara1
Copy link
Author

jtara1 commented Aug 6, 2019

I noticed npcap is a dep of npm networks, a dependency of this project

https://www.npmjs.com/package/cap

@rsxdalv
Copy link
Owner

rsxdalv commented Aug 6, 2019 via email

@jtara1
Copy link
Author

jtara1 commented Aug 7, 2019

no, not by just installing it

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

No branches or pull requests

2 participants