title: I would like to use a model (Tensorflow.js) exported from Microsoft Lobe to perform image detection in Javascript, but I'm having trouble
body: <p>I would like to use a model (Tensorflow.js) exported from Microsoft Lobe to perform image detection in Javascript, but I'm having trouble.
  Firstly, I want to test it with the sample included in the export, but I'm getting the following error.
  What do I need to do to fix this error?
  The version of Node.js is v16.13.2.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$ npm run predict ./zou/dl.jpg
  npm WARN lifecycle The node binary used for scripts is C:\Program Files (x86)\Nodist\bin\node.exe but npm is using C:\Program Files (x86)\Nodist\v-x64\16.13.2\node.exe itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
  
  &gt; lobetensorflowjsexample@1.0.0 predict C:\XXXXX\example
  &gt; ts-node tfjsExample.ts "./zou/dl.jpg"
  
  
  C:\XXXXX\example\node_modules\@tensorflow\tfjs-node\dist\index.js:49
      throw new Error("The Node.js native addon module (tfjs_binding.node) can not " +
            ^
  Error: The Node.js native addon module (tfjs_binding.node) can not be found at path: C:\XXXXX\example\node_modules\@tensorflow\tfjs-node\lib\napi-v7\tfjs_binding.node.
  Please run command 'npm rebuild @tensorflow/tfjs-node build-addon-from-source' to rebuild the native addon module.
  If you have problem with building the addon module, please check https://github.com/tensorflow/tfjs/blob/master/tfjs-node/WINDOWS_TROUBLESHOOTING.md or file an issue.
      at Object.&lt;anonymous&gt; (C:\XXXXX\example\node_modules\@tensorflow\tfjs-node\dist\index.js:49:11)
      at Module._compile (node:internal/modules/cjs/loader:1101:14)
      at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
      at Module.load (node:internal/modules/cjs/loader:981:32)
      at Function.Module._load (node:internal/modules/cjs/loader:822:12)
      at Module.require (node:internal/modules/cjs/loader:1005:19)
      at require (node:internal/modules/cjs/helpers:102:18)
      at Object.&lt;anonymous&gt; (C:\XXXXX\example\tfjsExample.ts:6:1)
      at Module._compile (node:internal/modules/cjs/loader:1101:14)
      at Module.m._compile (C:\XXXXX\example\node_modules\ts-node\src\index.ts:1056:23)      
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! lobetensorflowjsexample@1.0.0 predict: `ts-node tfjsExample.ts "./zou/dl.jpg"`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the lobetensorflowjsexample@1.0.0 predict script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.     
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\XXXX\AppData\Roaming\npm-cache\_logs\2022-01-21T06_37_16_930Z-debug.log</code></pre>
  </div>
  </div>
  </p>