Trying to create end to end nodejs solution I want to use deltashare, I need to install the delta share package but it's failing, trying to install danfojs which the delta share package depends on I get back the same error, its the same command in npm and in the GitHub repo, the command is:
npm install danfojs-node
I get back this issue:
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\\myPc\\e2eTests\\node_modules\\danfojs-node\\node_modules',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\myPc\e2eTests\node_modules\danfojs-node\node_modules\@tensorflow\tfjs-backend-webgl\dist'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\\myPc\\e2eTests\\node_modules\\danfojs-node\\node_modules\\@tensorflow\\tfjs-backend-webgl\\dist'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\\myPc\\e2eTests\\node_modules\\danfojs-node',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\myPc\e2eTests\node_modules\danfojs-node\node_modules\@tensorflow\tfjs-converter'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\\myPc\\e2eTests\\node_modules\\danfojs-node\\node_modules\\@tensorflow\\tfjs-converter'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\\myPc\\e2eTests\\node_modules\\danfojs-node\\node_modules\\@tensorflow\\tfjs-node',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\myPc\e2eTests\node_modules\danfojs-node\node_modules\@tensorflow\tfjs-node\deps\include\tensorflow'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\\myPc\\e2eTests\\node_modules\\danfojs-node\\node_modules\\@tensorflow\\tfjs-node\\deps\\include\\tensorflow'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\\myPc\\e2eTests\\node_modules\\danfojs-node',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\myPc\e2eTests\node_modules\danfojs-node\node_modules\@tensorflow\tfjs-node\deps\include\tensorflow'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\\myPc\\e2eTests\\node_modules\\danfojs-node\\node_modules\\@tensorflow\\tfjs-node\\deps\\include\\tensorflow'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\myPc\e2eTests\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 'C:\myPc\e2eTests\node_modules\danfojs-node\node_modules\@tensorflow\tfjs-node\deps\lib\tensorflow.dll' -> 'C:\myPc\e2eTests\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: 'C:\\myPc\\e2eTests\\node_modules\\danfojs-node\\node_modules\\@tensorflow\\tfjs-node\\deps\\lib\\tensorflow.dll',
npm ERR! dest: 'C:\\myPc\\e2eTests\\node_modules\\danfojs-node\\node_modules\\@tensorflow\\tfjs-node\\lib\\napi-v9\\tensorflow.dll'
npm ERR! }
npm ERR!
npm ERR! Node.js v21.6.2
npm ERR!
npm ERR! at genericNodeError (node:internal/errors:984:15)
npm ERR! at wrappedFn (node:internal/errors:538: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! }
It looks like it's missing in the installation Tensorflow but doesn't packages install other packages they depends on first? is the issue I'm working with a windows machine?