Issue Install danfojs-node

See original GitHub issue

Hi everyone, I have issue when i install danfojs-node with npm :

npm WARN deprecated @types/csv-parse@1.2.2: This is a stub types definition. csv-parse provides its own type definitions, so you do not need this installed.
npm WARN deprecated node-pre-gyp@0.14.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
npm ERR! code 1
npm ERR! path C:\Users\**\Desktop\NodeJS Developpement\Mysql JS\node_modules\@tensorflow\tfjs-node
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/install.js
npm ERR! CPU-windows-3.2.0.zip
npm ERR! * Downloading libtensorflow
npm ERR!
npm ERR! * Building TensorFlow Node.js bindings
npm ERR! symlink ./lib/napi-v8 failed:  Error: Command failed: node scripts/deps-stage.js symlink ./lib/napi-v8
npm ERR!   * Symlink of lib\napi-v8\tensorflow.dll failed, creating a copy on disk.
npm ERR! node:internal/process/promises:245
npm ERR!           triggerUncaughtException(err, true /* fromPromise */);
npm ERR!           ^
npm ERR!
npm ERR! [Error: ENOENT: no such file or directory, copyfile 'C:\Users\**\Desktop\NodeJS Developpement\Mysql JS\node_modules\@tensorflow\tfjs-node\deps\lib\tensorflow.dll' -> 'C:\Users\**\Desktop\NodeJS Developpement\Mysql JS\node_modules\@tensorflow\tfjs-node\lib\napi-v8\tensorflow.dll'] {
npm ERR!   errno: -4058,
npm ERR!   code: 'ENOENT',
npm ERR!   syscall: 'copyfile',
npm ERR!   path: 'C:\\Users\\**\\Desktop\\NodeJS Developpement\\Mysql JS\\node_modules\\@tensorflow\\tfjs-node\\deps\\lib\\tensorflow.dll',
npm ERR!   dest: 'C:\\Users\\**\\Desktop\\NodeJS Developpement\\Mysql JS\\node_modules\\@tensorflow\\tfjs-node\\lib\\napi-v8\\tensorflow.dll'
npm ERR! }
npm ERR!
npm ERR!     at ChildProcess.exithandler (node:child_process:326:12)
npm ERR!     at ChildProcess.emit (node:events:369:20)
npm ERR!     at maybeClose (node:internal/child_process:1067:16)
npm ERR!     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
npm ERR!   killed: false,
npm ERR!   code: 1,
npm ERR!   signal: null,
npm ERR!   cmd: 'node scripts/deps-stage.js symlink ./lib/napi-v8'
npm ERR! }

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\**\AppData\Local\npm-cache\_logs\2021-03-27T00_12_51_686Z-debug.log

The problem come from tensorflow and i have no idea to solve it. Thank you

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sinayracommented, Apr 15, 2021

Just for future reference, I’ve downgraded my node to 12.18.0 version, deleted node_modules, removed the @tensorflow/tfjs-node from dependencies and run once again the npm install danfojs-node command. Everything is working just fine now.

0reactions
steveonicommented, Jul 18, 2021

@codeinhere123 are you using macos ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue Install danfojs-node #157 - GitHub
Hi everyone, I have issue when i install danfojs-node with npm : npm WARN deprecated @types/csv-parse@1.2.2: This is a stub types ...
Read more >
Getting Started - JavaScript
Installation guides for Node and Browser based environments, including a quick 10 minute walk through of danfo.js.
Read more >
danfojs-node - npm
JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.
Read more >
Error trying to install DanfoJs, The Node.js native addon ...
I tried to ran npm rebuild @tensorflow/tfjs-node build-addon-from-source but still having problem. and here is the package.json "devDependencies ...
Read more >
Installing Danfo.js | Building Data-Driven Applications with ...
To install or get the latest version of Danfo. js, you can check the release page here, https://danfo.jsdata.org/release-notes, in the official documentation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found