Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to Install delta-sharing with npm #14

Open
MarcoFiusco opened this issue Jun 21, 2024 · 1 comment
Open

Failure to Install delta-sharing with npm #14

MarcoFiusco opened this issue Jun 21, 2024 · 1 comment

Comments

@MarcoFiusco
Copy link

MarcoFiusco commented Jun 21, 2024

Hello,

when I try to run "npm install delta-sharing" it fails showing the following error

`npm ERR! code 1
npm ERR! path \node_modules\danfojs-node\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.21.1.zip
npm ERR! https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-windows-x86_64-2.9.1.zip
npm ERR! * Downloading libtensorflow
npm ERR!
npm ERR! * Building TensorFlow Node.js bindings
npm ERR! symlink ./lib/napi-v9 failed: Error: Command failed: node scripts/deps-stage.js symlink ./lib/napi-v9
npm ERR! * Symlink of lib\napi-v9\tensorflow.dll failed, creating a copy on disk.
npm ERR! node:internal/process/promises:289
npm ERR! triggerUncaughtException(err, true /* fromPromise */);
npm ERR! ^
npm ERR!
npm ERR! [Error: ENOENT: no such file or directory, copyfile '\node_modules\danfojs-node\node_modules@tensorflow\tfjs-node\deps\lib\tensorflow.dll' -> 'C:\projects\deltashare - node\node_modules\danfojs-node\node_modules@tensorflow\tfjs-node\lib\napi-v9\tensorflow.dll'] {
npm ERR! errno: -4058,
npm ERR! code: 'ENOENT',
npm ERR! syscall: 'copyfile',
npm ERR! path: '\node_modules\danfojs-node\node_modules\@tensorflow\tfjs-node\deps\lib\tensorflow.dll',
npm ERR! dest: '\node_modules\danfojs-node\node_modules\@tensorflow\tfjs-node\lib\napi-v9\tensorflow.dll'
npm ERR! }
npm ERR!
npm ERR! Node.js v21.3.0
npm ERR!
npm ERR! at genericNodeError (node:internal/errors:956:15)
npm ERR! at wrappedFn (node:internal/errors:510:14)
npm ERR! at ChildProcess.exithandler (node:child_process:422:12)
npm ERR! at ChildProcess.emit (node:events:519:28)
npm ERR! at maybeClose (node:internal/child_process:1105:16)
npm ERR! at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
npm ERR! code: 1,
npm ERR! killed: false,
npm ERR! signal: null,
npm ERR! cmd: 'node scripts/deps-stage.js symlink ./lib/napi-v9'
npm ERR! }

npm ERR! A complete log of this run can be found in: \AppData\Local\npm-cache_logs\2024-06-21T15_10_09_038Z-debug-0.log`

Steps to Reproduce:

  • Run npm install delta-sharing in the project directory.

Expected Behavior:

  • The delta-sharing package should install without errors.

Actual Behavior:

  • The installation fails with the error described above.

Environment:

  • Operating System: Windows 10
  • Node.js Version: v21.3.0 (also tried with many other versions)
  • npm Version: 10.2.4

Additional Context:
I also tried installing TensorFlow directly by running the following scripts before running npm install delta-sharing, but the issue persists:

Can you please check and advise on how to resolve this issue?

Thanks,
Marco

@riekjurg
Copy link

@MarcoFiusco ever solved this? Getting the same error.

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

No branches or pull requests

2 participants