dashersw / dashersw/wits

Issue when running example script

Open
#5 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
102
Forks
10
PR merge metrics
No merged PRs in 30d

Description

I am facing with this issue when i run the codes that is given in readme file.

C:\Codes\wits-master>node try1.js
C:\Codes\wits-master\node_modules\wits\node_modules\bindings\bindings.js:135
throw err;
^

Error: Could not locate the bindings file. Tried:
→ C:\Codes\wits-master\node_modules\wits\build\emotiv.node
→ C:\Codes\wits-master\node_modules\wits\build\Debug\emotiv.node
→ C:\Codes\wits-master\node_modules\wits\build\Release\emotiv.node
→ C:\Codes\wits-master\node_modules\wits\out\Debug\emotiv.node
→ C:\Codes\wits-master\node_modules\wits\Debug\emotiv.node
→ C:\Codes\wits-master\node_modules\wits\out\Release\emotiv.node
→ C:\Codes\wits-master\node_modules\wits\Release\emotiv.node
→ C:\Codes\wits-master\node_modules\wits\build\default\emotiv.node
→ C:\Codes\wits-master\node_modules\wits\compiled\10.16.3\win32\x64\emotiv.node
→ C:\Codes\wits-master\node_modules\wits\addon-build\release\install-root\emotiv.node
→ C:\Codes\wits-master\node_modules\wits\addon-build\debug\install-root\emotiv.node
→ C:\Codes\wits-master\node_modules\wits\addon-build\default\install-root\emotiv.node
→ C:\Codes\wits-master\node_modules\wits\lib\binding\node-v64-win32-x64\emotiv.node
at bindings (C:\Codes\wits-master\node_modules\wits\node_modules\bindings\bindings.js:126:9)
at Object. (C:\Codes\wits-master\node_modules\wits\index.js:1:35)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (C:\Codes\wits-master\try1.js:1:14)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the README example and try1.js, then trace the require through node_modules/wits/index.js and bindings.js. Check how the native emotiv.node binding is expected to be produced or located on Windows; done means the example runs without the missing-bindings error and the required setup is documented or corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, javascript, nodejs
Domain
backend, embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.