7

I'm trying to run an app of node-ffi on my windows 7 PC with Nodejs v6.2.0, but it crashes with the following error . I tried a variety of methods, but did not resolve my problem

   E:\iwork\workbase\myapp\node_modules\bindings\bindings.js:91 Uncaught Error: Could not locate the bindings file. Tried:
 → E:\iwork\workbase\myapp\node_modules\ref\build\binding.node
 → E:\iwork\workbase\myapp\node_modules\ref\build\Debug\binding.node
 → E:\iwork\workbase\myapp\node_modules\ref\build\Release\binding.node
 → E:\iwork\workbase\myapp\node_modules\ref\out\Debug\binding.node
 → E:\iwork\workbase\myapp\node_modules\ref\Debug\binding.node
 → E:\iwork\workbase\myapp\node_modules\ref\out\Release\binding.node
 → E:\iwork\workbase\myapp\node_modules\ref\Release\binding.node
 → E:\iwork\workbase\myapp\node_modules\ref\build\default\binding.node
 → E:\iwork\workbase\myapp\node_modules\ref\compiled\6.1.0\win32\ia32\binding.node
Asa
  • 1,624
  • 15
  • 19
Outlooks Chan
  • 71
  • 1
  • 1
  • 2

2 Answers2

2

Try to install module:

npm install bindings --save
npm install

re launch app.

More info at https://github.com/TooTallNate/node-bindings

Jesus Segnini
  • 355
  • 1
  • 8
1

I also faced the same issue. For me, downgrading the node version from 7.3.0 to 6.9.2 worked. I am not sure what is the exact reason though.

Ishan Mihir
  • 83
  • 2
  • 9