tensorflow / tfjs

A WebGL accelerated JavaScript library for training and deploying ML models.
https://js.tensorflow.org
Apache License 2.0
18.52k stars 1.94k forks source link

I tried to install latest tfjs-node with LTS nodejs version, but I got errors #8118

Closed YaserFazil closed 10 months ago

YaserFazil commented 11 months ago

System information

Problem description

When I try to run this command (npm install @tensorflow/tfjs-node), I'm getting the error below, can you guys please help me with this issue, I really appreciate your help, thanks:

npm WARN cleanup Failed to remove some directories [ npm WARN cleanup [ npm WARN cleanup 'D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow', npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow\tfjs-layers\dist'] { npm WARN cleanup errno: -4048, npm WARN cleanup code: 'EPERM', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: 'D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow\tfjs-layers\dist' npm WARN cleanup } npm WARN cleanup ] npm WARN cleanup ] npm ERR! code 1 npm ERR! path D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\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-4.15.0.zip npm ERR! https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-windows-x86_64-2.9.1.zip npm ERR! node-pre-gyp install failed with error: Error: Command failed: node-pre-gyp install --fallback-to-build npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@1.0.9 npm ERR! node-pre-gyp info using node@20.10.0 | win32 | x64 npm ERR! node-pre-gyp info check checked for "D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow\tfjs-node\lib\napi-v8\tfjs_binding.node" (not found) npm ERR! node-pre-gyp http GET https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/4.15.0/CPU-windows-4.15.0.zip npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/4.15.0/CPU-windows-4.15.0.zip npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @tensorflow/tfjs-node@4.15.0 and node@20.10.0 (node-v115 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/4.15.0/CPU-windows-4.15.0.zip npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.4.0 npm ERR! gyp info using node@20.10.0 | win32 | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.4.0 npm ERR! gyp info using node@20.10.0 | win32 | x64 npm ERR! gyp info find Python using Python version 3.11.5 found at "C:\Program Files\Python311\python.exe" npm ERR! gyp info find VS using VS2022 (17.8.34330.188) found at: npm ERR! gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Community" npm ERR! gyp info find VS run with --verbose for detailed information npm ERR! gyp info spawn C:\Program Files\Python311\python.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'C:\Users\frfvi\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'msvs', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow\tfjs-node\build\config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\Users\frfvi\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\Users\frfvi\AppData\Local\node-gyp\Cache\20.10.0\include\node\common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=C:\Users\frfvi\AppData\Local\node-gyp\Cache\20.10.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\Users\frfvi\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\frfvi\\AppData\\Local\\node-gyp\\Cache\\20.10.0\\<(target_arch)\\node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow\tfjs-node', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow\tfjs-node\build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.4.0 npm ERR! gyp info using node@20.10.0 | win32 | x64 npm ERR! gyp info spawn C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'build/binding.sln', npm ERR! gyp info spawn args '/clp:Verbosity=minimal', npm ERR! gyp info spawn args '/nologo', npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64' npm ERR! gyp info spawn args ] npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.onExit (C:\Users\frfvi\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:203:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:514:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12) npm ERR! gyp ERR! System Windows_NT 10.0.22635 npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\frfvi\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "build" "--fallback-to-build" "--module=D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow\tfjs-node\lib\napi-v8\tfjs_binding.node" "--module_name=tfjs_binding" "--module_path=D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow\tfjs-node\lib\napi-v8" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=8" "--node_napi_label=napi-v8"
npm ERR! gyp ERR! cwd D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow\tfjs-node npm ERR! gyp ERR! node -v v20.10.0 npm ERR! gyp ERR! node-gyp -v v9.4.0 npm ERR! gyp ERR! not ok npm ERR! node-pre-gyp ERR! build error npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\frfvi\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow\tfjs-node\lib\napi-v8\tfjs_binding.node --module_name=tfjs_binding --module_path=D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow\tfjs-node\lib\napi-v8 --napi_version=9 --node_abi_napi=napi --napi_build_version=8 --node_napi_label=napi-v8' (1) npm ERR! node-pre-gyp ERR! stack at ChildProcess. (D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23) npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:514:28) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1105:16) npm ERR! node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:305:5) npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.22635 npm ERR! node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@mapbox\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build" npm ERR! node-pre-gyp ERR! cwd D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_system\node_modules\@tensorflow\tfjs-node npm ERR! node-pre-gyp ERR! node -v v20.10.0 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.9 npm ERR! node-pre-gyp ERR! not ok npm ERR! Downloading libtensorflow npm ERR! npm ERR! Building TensorFlow Node.js bindings

npm ERR! A complete log of this run can be found in: C:\Users\frfvi\AppData\Local\npm-cache_logs\2024-01-02T14_23_58_987Z-debug-0.log

YaserFazil commented 11 months ago

I changed Nodejs versions, Python versions, Googled solutions, asked AI as a prompt engineer, updated Microsoft Studio Code c++ build tools and ran VSC as an admin, but nothing worked!

gaikwadrahul8 commented 11 months ago

Hi, @YaserFazil

Thank you for bringing this issue to our attention and It's known issue to us and as you mentioned in the issue template you tried Node.js v20.10.0, v18.0.0, v21.5.0 versions but it did not work for you so our team is working on this issue to fix it as soon as possible with latest Node.js versions and some older Node.js versions so at the moment the workaround is either use Node.js v19.9.0 LTS or Node.js 18.16.1 and it should work. please refer these instructions and Kindly ensure that the environment variable paths for Python and the Microsoft Visual Studio build tool are configured accurately.

Please give it try from your end with one of the mentioned Node.js version ( Recommended Node.js v19.9.0 LTS ) and see is it working as expected or not ?

If issue still persists please let us know with new error log to investigate this issue further from our end. Thank you for your understanding and patience.

YaserFazil commented 11 months ago

Well, thanks for your reply, @gaikwadrahul8 sir. I tried tow scenarios:

  1. I tried with Nodejs v19.9.0 (NVM), Python 3.9.0 (Pyenv) and npm install --save-exact @tensorflow/tfjs-node@3.18.0

That one actually worked but I shouldn't use that old version of tfjs-node@3.18.0

and the second scenariou was:

  1. Nodejs v19.9.0 (NVM), Python 3.9.0 (Pyenv) and npm install --save-exact @tensorflow/tfjs-node

But this time I got the same old error. And I shouldn't use the old version of tfjs-node that I told you in the first scenariou as well, sir, is there a way to install the latest tfjs-node with old node and python

gaikwadrahul8 commented 11 months ago

Hi, @YaserFazil

I tried from my end with Node.js v19.9.0 with Python 3.9.10 version and it's installing the latest tfjs-node version ("@tensorflow/tfjs-node": "^4.15.0") even I tried to train simple model and it's working as expected, for your reference I have added output log and package.json file, I simply created Node.jsproject by running this command npm init -y so I would suggest you create brand new Node.js project in by creating new folder and please give it try once from your end and see is it working as expected or not ?

If issue still persists please help us with new error log to investigate your issue further by running this command node-gyp configure. Thank you for your understanding and patience.

PS C:\Users\gaikwadrahul\Desktop\tfjs-node-testing-for-doc\test-issue-8118> pyenv local 3.9.10
PS C:\Users\gaikwadrahul\Desktop\tfjs-node-testing-for-doc\test-issue-8118> python
Python 3.9.10 (tags/v3.9.10:f2f3f53, Jan 17 2022, 15:14:21) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
PS C:\Users\gaikwadrahul\Desktop\tfjs-node-testing-for-doc\test-issue-8118> pyenv which python
C:\Users\gaikwadrahul\.pyenv\pyenv-win\versions\3.9.10\python.exe
PS C:\Users\gaikwadrahul\Desktop\tfjs-node-testing-for-doc\test-issue-8118> npm install -g node-gyp --python="C:\Users\gaikwadrahul\.pyenv\pyenv-win\versions\3.9.10\python.exe”   

changed 99 packages in 11s
npm notice 
npm notice New major version of npm available! 9.6.3 -> 10.2.5
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.5
npm notice Run npm install -g npm@10.2.5 to update!
npm notice 
PS C:\Users\gaikwadrahul\Desktop\tfjs-node-testing-for-doc\test-issue-8118> npm install --python="C:\Users\gaikwadrahul\.pyenv\pyenv-win\versions\3.9.10\python.exe" @tensorflow/tfjs-node

changed 10 packages, and audited 120 packages in 1m

9 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
PS C:\Users\gaikwadrahul\Desktop\tfjs-node-testing-for-doc\test-issue-8118> npm init -y
Wrote to C:\Users\gaikwadrahul\Desktop\tfjs-node-testing-for-doc\test-issue-8118\package.json:

{
  "name": "test-issue-8118",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC"
}

PS C:\Users\gaikwadrahul\Desktop\tfjs-node-testing-for-doc\test-issue-8118> npm install --python="C:\Users\gaikwadrahul\.pyenv\pyenv-win\versions\3.9.10\python.exe" @tensorflow/tfjs-node

added 121 packages, and audited 122 packages in 1m

9 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
PS C:\Users\gaikwadrahul\Desktop\tfjs-node-testing-for-doc\test-issue-8118> node -v
v19.9.0
PS C:\Users\gaikwadrahul\Desktop\tfjs-node-testing-for-doc\test-issue-8118> npm -v
9.6.3
PS C:\Users\gaikwadrahul\Desktop\tfjs-node-testing-for-doc\test-issue-8118> node .\index.js
2024-01-02 17:14:23.653799: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Epoch 1 / 3
eta=0.0 ==================================================================================>
3920ms 392us/step - MAE=0.332 loss=0.172 val_MAE=0.304 val_loss=0.135
Epoch 2 / 3
eta=0.0 ==================================================================================>
2792ms 279us/step - MAE=0.279 loss=0.112 val_MAE=0.269 val_loss=0.103
Epoch 3 / 3
eta=0.0 ==================================================================================>
2782ms 278us/step - MAE=0.261 loss=0.0953 val_MAE=0.252 val_loss=0.0891
PS C:\Users\gaikwadrahul\Desktop\tfjs-node-testing-for-doc\test-issue-8118> 

Here is package.json file output :

{
  "name": "test-issue-8118",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "type": "module",
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@tensorflow/tfjs-node": "^4.15.0"
  }
}
YaserFazil commented 11 months ago

unfortunately, @gaikwadrahul8 sir, I've tried everything you told me, node 19.9.0, npm 9.6.3, python 3.9.10 and without pyenv, but again:

0 verbose cli D:\APPS\nodejs\node.exe D:\APPS\nodejs\node_modules\npm\bin\npm-cli.js
1 info using npm@9.6.3
2 info using node@v19.9.0
3 timing npm:load:whichnode Completed in 3ms
4 timing config:load:defaults Completed in 4ms
5 timing config:load:file:C:\Users\frfvi\AppData\Roaming\nvm\v19.9.0\node_modules\npm\npmrc Completed in 0ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 5ms
8 timing config:load:env Completed in 2ms
9 timing config:load:file:D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_sys\.npmrc Completed in 1ms
10 timing config:load:project Completed in 3ms
11 timing config:load:file:C:\Users\frfvi\.npmrc Completed in 0ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:D:\APPS\nodejs\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 2ms
16 timing config:load Completed in 20ms
17 timing npm:load:configload Completed in 20ms
18 timing npm:load:mkdirpcache Completed in 1ms
19 timing npm:load:mkdirplogs Completed in 1ms
20 verbose title npm install @tensorflow/tfjs-node
21 verbose argv "install" "--force" "--python" "D:\\Apps\\python3.9.10\\python.exe" "@tensorflow/tfjs-node"
22 timing npm:load:setTitle Completed in 3ms
23 timing config:load:flatten Completed in 8ms
24 timing npm:load:display Completed in 10ms
25 verbose logfile logs-max:10 dir:C:\Users\frfvi\AppData\Local\npm-cache\_logs\2024-01-02T22_01_27_296Z-
26 verbose logfile C:\Users\frfvi\AppData\Local\npm-cache\_logs\2024-01-02T22_01_27_296Z-debug-0.log
27 timing npm:load:logFile Completed in 23ms
28 timing npm:load:timers Completed in 1ms
29 timing npm:load:configScope Completed in 0ms
30 warn using --force Recommended protections disabled.
31 timing npm:load Completed in 67ms
32 timing arborist:ctor Completed in 2ms
33 timing idealTree:init Completed in 143ms
34 timing idealTree:userRequests Completed in 4ms
35 silly idealTree buildDeps
36 silly fetch manifest @tensorflow/tfjs-node@*
37 silly logfile start cleaning logs, removing 2 files
38 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
39 silly logfile done cleaning log files
40 http fetch GET 200 https://registry.npmjs.org/@tensorflow%2ftfjs-node 2094ms (cache miss)
41 silly placeDep ROOT @tensorflow/tfjs-node@4.15.0 OK for: baggage_detection_sys@1.0.0 want: *
42 silly fetch manifest @tensorflow/tfjs@4.15.0
43 silly fetch manifest adm-zip@^0.5.2
44 silly fetch manifest google-protobuf@^3.9.2
45 silly fetch manifest https-proxy-agent@^2.2.1
46 silly fetch manifest progress@^2.0.0
47 silly fetch manifest rimraf@^2.6.2
48 silly fetch manifest tar@^4.4.6
49 http fetch GET 200 https://registry.npmjs.org/https-proxy-agent 179ms (cache revalidated)
50 http fetch GET 200 https://registry.npmjs.org/adm-zip 207ms (cache miss)
51 http fetch GET 200 https://registry.npmjs.org/progress 225ms (cache miss)
52 http fetch GET 200 https://registry.npmjs.org/rimraf 340ms (cache revalidated)
53 http fetch GET 200 https://registry.npmjs.org/tar 353ms (cache miss)
54 http fetch GET 200 https://registry.npmjs.org/google-protobuf 376ms (cache revalidated)
55 http fetch GET 200 https://registry.npmjs.org/@tensorflow%2ftfjs 1773ms (cache miss)
56 timing idealTree:#root Completed in 3907ms
57 silly placeDep ROOT @tensorflow/tfjs@4.15.0 OK for: @tensorflow/tfjs-node@4.15.0 want: 4.15.0
58 silly placeDep ROOT adm-zip@0.5.10 OK for: @tensorflow/tfjs-node@4.15.0 want: ^0.5.2
59 silly placeDep ROOT google-protobuf@3.21.2 OK for: @tensorflow/tfjs-node@4.15.0 want: ^3.9.2
60 silly placeDep node_modules/@tensorflow/tfjs-node https-proxy-agent@2.2.4 OK for: @tensorflow/tfjs-node@4.15.0 want: ^2.2.1
61 silly placeDep ROOT progress@2.0.3 OK for: @tensorflow/tfjs-node@4.15.0 want: ^2.0.0
62 silly placeDep node_modules/@tensorflow/tfjs-node rimraf@2.7.1 OK for: @tensorflow/tfjs-node@4.15.0 want: ^2.6.2
63 silly placeDep node_modules/@tensorflow/tfjs-node tar@4.4.19 OK for: @tensorflow/tfjs-node@4.15.0 want: ^4.4.6
64 silly fetch manifest @tensorflow/tfjs-backend-cpu@4.15.0
65 silly fetch manifest @tensorflow/tfjs-backend-webgl@4.15.0
66 silly fetch manifest @tensorflow/tfjs-converter@4.15.0
67 silly fetch manifest @tensorflow/tfjs-core@4.15.0
68 silly fetch manifest @tensorflow/tfjs-data@4.15.0
69 silly fetch manifest @tensorflow/tfjs-layers@4.15.0
70 silly fetch manifest argparse@^1.0.10
71 silly fetch manifest chalk@^4.1.0
72 silly fetch manifest core-js@3.29.1
73 silly fetch manifest regenerator-runtime@^0.13.5
74 silly fetch manifest yargs@^16.0.3
75 silly fetch manifest agent-base@^4.3.0
76 silly fetch manifest debug@^3.1.0
77 silly fetch manifest chownr@^1.1.4
78 silly fetch manifest fs-minipass@^1.2.7
79 silly fetch manifest minipass@^2.9.0
80 silly fetch manifest minizlib@^1.3.3
81 silly fetch manifest mkdirp@^0.5.5
82 silly fetch manifest yallist@^3.1.1
83 http fetch GET 200 https://registry.npmjs.org/agent-base 258ms (cache revalidated)
84 http fetch GET 200 https://registry.npmjs.org/regenerator-runtime 265ms (cache miss)
85 http fetch GET 200 https://registry.npmjs.org/mkdirp 289ms (cache revalidated)
86 http fetch GET 200 https://registry.npmjs.org/argparse 329ms (cache revalidated)
87 http fetch GET 200 https://registry.npmjs.org/chalk 339ms (cache revalidated)
88 http fetch GET 200 https://registry.npmjs.org/yallist 335ms (cache revalidated)
89 http fetch GET 200 https://registry.npmjs.org/fs-minipass 345ms (cache miss)
90 http fetch GET 200 https://registry.npmjs.org/minizlib 353ms (cache miss)
91 http fetch GET 200 https://registry.npmjs.org/yargs 370ms (cache revalidated)
92 http fetch GET 200 https://registry.npmjs.org/core-js 439ms (cache revalidated)
93 http fetch GET 200 https://registry.npmjs.org/@tensorflow%2ftfjs-backend-webgl 469ms (cache miss)
94 http fetch GET 200 https://registry.npmjs.org/minipass 451ms (cache miss)
95 http fetch GET 200 https://registry.npmjs.org/debug 474ms (cache revalidated)
96 http fetch GET 200 https://registry.npmjs.org/@tensorflow%2ftfjs-core 512ms (cache miss)
97 http fetch GET 200 https://registry.npmjs.org/@tensorflow%2ftfjs-converter 530ms (cache miss)
98 http fetch GET 200 https://registry.npmjs.org/@tensorflow%2ftfjs-layers 607ms (cache miss)
99 http fetch GET 200 https://registry.npmjs.org/chownr 1086ms (cache miss)
100 http fetch GET 200 https://registry.npmjs.org/@tensorflow%2ftfjs-backend-cpu 1207ms (cache miss)
101 http fetch GET 200 https://registry.npmjs.org/@tensorflow%2ftfjs-data 1745ms (cache miss)
102 timing idealTree:node_modules/@tensorflow/tfjs-node Completed in 1792ms
103 silly fetch manifest seedrandom@^3.0.5
104 http fetch GET 200 https://registry.npmjs.org/seedrandom 105ms (cache revalidated)
105 silly placeDep ROOT @tensorflow/tfjs-backend-cpu@4.15.0 OK for: @tensorflow/tfjs@4.15.0 want: 4.15.0
106 silly placeDep ROOT @tensorflow/tfjs-core@4.15.0 OK for: @tensorflow/tfjs-backend-cpu@4.15.0 want: 4.15.0
107 silly placeDep ROOT @tensorflow/tfjs-backend-webgl@4.15.0 OK for: @tensorflow/tfjs@4.15.0 want: 4.15.0
108 silly placeDep ROOT @tensorflow/tfjs-converter@4.15.0 OK for: @tensorflow/tfjs@4.15.0 want: 4.15.0
109 silly placeDep ROOT @tensorflow/tfjs-data@4.15.0 OK for: @tensorflow/tfjs@4.15.0 want: 4.15.0
110 silly placeDep ROOT seedrandom@3.0.5 OK for: @tensorflow/tfjs-data@4.15.0 want: ^3.0.5
111 silly placeDep ROOT @tensorflow/tfjs-layers@4.15.0 OK for: @tensorflow/tfjs@4.15.0 want: 4.15.0
112 silly placeDep ROOT argparse@1.0.10 OK for: @tensorflow/tfjs@4.15.0 want: ^1.0.10
113 silly placeDep ROOT chalk@4.1.2 OK for: @tensorflow/tfjs@4.15.0 want: ^4.1.0
114 silly placeDep ROOT core-js@3.29.1 OK for: @tensorflow/tfjs@4.15.0 want: 3.29.1
115 silly placeDep ROOT regenerator-runtime@0.13.11 OK for: @tensorflow/tfjs@4.15.0 want: ^0.13.5
116 silly placeDep ROOT yargs@16.2.0 OK for: @tensorflow/tfjs@4.15.0 want: ^16.0.3
117 silly fetch manifest @types/seedrandom@^2.4.28
118 silly fetch manifest @types/long@^4.0.1
119 silly fetch manifest @types/offscreencanvas@~2019.7.0
120 silly fetch manifest @webgpu/types@0.1.38
121 silly fetch manifest long@4.0.0
122 silly fetch manifest node-fetch@~2.6.1
123 silly fetch manifest @types/offscreencanvas@~2019.3.0
124 silly fetch manifest @types/node-fetch@^2.1.2
125 silly fetch manifest sprintf-js@~1.0.2
126 silly fetch manifest ansi-styles@^4.1.0
127 silly fetch manifest supports-color@^7.1.0
128 silly fetch manifest cliui@^7.0.2
129 silly fetch manifest escalade@^3.1.1
130 silly fetch manifest get-caller-file@^2.0.5
131 silly fetch manifest require-directory@^2.1.1
132 silly fetch manifest y18n@^5.0.5
133 silly fetch manifest yargs-parser@^20.2.2
134 http fetch GET 200 https://registry.npmjs.org/cliui 156ms (cache revalidated)
135 http fetch GET 200 https://registry.npmjs.org/escalade 157ms (cache revalidated)
136 http fetch GET 200 https://registry.npmjs.org/require-directory 150ms (cache revalidated)
137 http fetch GET 200 https://registry.npmjs.org/sprintf-js 193ms (cache revalidated)
138 http fetch GET 200 https://registry.npmjs.org/supports-color 193ms (cache revalidated)
139 http fetch GET 200 https://registry.npmjs.org/node-fetch 209ms (cache revalidated)
140 http fetch GET 200 https://registry.npmjs.org/ansi-styles 248ms (cache revalidated)
141 http fetch GET 200 https://registry.npmjs.org/y18n 234ms (cache revalidated)
142 http fetch GET 200 https://registry.npmjs.org/yargs-parser 236ms (cache revalidated)
143 http fetch GET 200 https://registry.npmjs.org/get-caller-file 247ms (cache revalidated)
144 http fetch GET 200 https://registry.npmjs.org/@types%2fnode-fetch 280ms (cache revalidated)
145 http fetch GET 200 https://registry.npmjs.org/long 890ms (cache revalidated)
146 http fetch GET 200 https://registry.npmjs.org/@types%2foffscreencanvas 1659ms (cache revalidated)
147 http fetch GET 200 https://registry.npmjs.org/@types%2fseedrandom 1679ms (cache revalidated)
148 http fetch GET 200 https://registry.npmjs.org/@types%2foffscreencanvas 1698ms (cache revalidated)
149 http fetch GET 200 https://registry.npmjs.org/@types%2flong 1713ms (cache revalidated)
150 http fetch GET 200 https://registry.npmjs.org/@webgpu%2ftypes 1734ms (cache revalidated)
151 timing idealTree:node_modules/@tensorflow/tfjs Completed in 1925ms
152 silly placeDep ROOT @types/seedrandom@2.4.34 OK for: @tensorflow/tfjs-backend-cpu@4.15.0 want: ^2.4.28
153 timing idealTree:node_modules/@tensorflow/tfjs-backend-cpu Completed in 4ms
154 silly placeDep ROOT @types/offscreencanvas@2019.3.0 OK for: @tensorflow/tfjs-backend-webgl@4.15.0 want: ~2019.3.0
155 timing idealTree:node_modules/@tensorflow/tfjs-backend-webgl Completed in 4ms
156 timing idealTree:node_modules/@tensorflow/tfjs-converter Completed in 1ms
157 silly fetch manifest encoding@^0.1.0
158 http fetch GET 200 https://registry.npmjs.org/encoding 48ms (cache revalidated)
159 silly placeDep ROOT @types/long@4.0.2 OK for: @tensorflow/tfjs-core@4.15.0 want: ^4.0.1
160 silly placeDep node_modules/@tensorflow/tfjs-core @types/offscreencanvas@2019.7.3 OK for: @tensorflow/tfjs-core@4.15.0 want: ~2019.7.0
161 silly placeDep ROOT @webgpu/types@0.1.38 OK for: @tensorflow/tfjs-core@4.15.0 want: 0.1.38
162 silly placeDep ROOT long@4.0.0 OK for: @tensorflow/tfjs-core@4.15.0 want: 4.0.0
163 silly placeDep node_modules/@tensorflow/tfjs-core node-fetch@2.6.13 OK for: @tensorflow/tfjs-core@4.15.0 want: ~2.6.1
164 timing idealTree:node_modules/@tensorflow/tfjs-core Completed in 77ms
165 silly placeDep ROOT @types/node-fetch@2.6.10 OK for: @tensorflow/tfjs-data@4.15.0 want: ^2.1.2
166 silly placeDep node_modules/@tensorflow/tfjs-data node-fetch@2.6.13 OK for: @tensorflow/tfjs-data@4.15.0 want: ~2.6.1
167 silly fetch manifest @types/node@*
168 silly fetch manifest form-data@^4.0.0
169 http fetch GET 200 https://registry.npmjs.org/form-data 21ms (cache hit)
170 http fetch GET 200 https://registry.npmjs.org/@types%2fnode 91ms (cache revalidated)
171 timing idealTree:node_modules/@tensorflow/tfjs-data Completed in 120ms
172 timing idealTree:node_modules/@tensorflow/tfjs-layers Completed in 0ms
173 timing idealTree:node_modules/@types/long Completed in 0ms
174 silly placeDep ROOT @types/node@20.10.6 OK for: @types/node-fetch@2.6.10 want: *
175 silly placeDep ROOT form-data@4.0.0 OK for: @types/node-fetch@2.6.10 want: ^4.0.0
176 silly fetch manifest undici-types@~5.26.4
177 silly fetch manifest asynckit@^0.4.0
178 silly fetch manifest combined-stream@^1.0.8
179 silly fetch manifest mime-types@^2.1.12
180 http fetch GET 200 https://registry.npmjs.org/asynckit 31ms (cache hit)
181 http fetch GET 200 https://registry.npmjs.org/combined-stream 32ms (cache hit)
182 http fetch GET 200 https://registry.npmjs.org/undici-types 69ms (cache miss)
183 http fetch GET 200 https://registry.npmjs.org/mime-types 123ms (cache revalidated)
184 timing idealTree:node_modules/@types/node-fetch Completed in 140ms
185 silly placeDep ROOT undici-types@5.26.5 OK for: @types/node@20.10.6 want: ~5.26.4
186 timing idealTree:node_modules/@types/node Completed in 4ms
187 timing idealTree:node_modules/@types/offscreencanvas Completed in 0ms
188 timing idealTree:node_modules/@types/seedrandom Completed in 0ms
189 timing idealTree:node_modules/@webgpu/types Completed in 0ms
190 timing idealTree:node_modules/adm-zip Completed in 0ms
191 silly placeDep ROOT sprintf-js@1.0.3 OK for: argparse@1.0.10 want: ~1.0.2
192 timing idealTree:node_modules/argparse Completed in 4ms
193 silly placeDep ROOT ansi-styles@4.3.0 OK for: chalk@4.1.2 want: ^4.1.0
194 silly placeDep ROOT supports-color@7.2.0 OK for: chalk@4.1.2 want: ^7.1.0
195 silly fetch manifest color-convert@^2.0.1
196 silly fetch manifest has-flag@^4.0.0
197 http fetch GET 200 https://registry.npmjs.org/has-flag 59ms (cache revalidated)
198 http fetch GET 200 https://registry.npmjs.org/color-convert 122ms (cache revalidated)
199 timing idealTree:node_modules/chalk Completed in 132ms
200 silly placeDep ROOT color-convert@2.0.1 OK for: ansi-styles@4.3.0 want: ^2.0.1
201 silly fetch manifest color-name@~1.1.4
202 http fetch GET 200 https://registry.npmjs.org/color-name 126ms (cache revalidated)
203 timing idealTree:node_modules/ansi-styles Completed in 134ms
204 silly placeDep ROOT color-name@1.1.4 OK for: color-convert@2.0.1 want: ~1.1.4
205 timing idealTree:node_modules/color-convert Completed in 3ms
206 timing idealTree:node_modules/color-name Completed in 0ms
207 timing idealTree:node_modules/core-js Completed in 0ms
208 silly placeDep ROOT asynckit@0.4.0 OK for: form-data@4.0.0 want: ^0.4.0
209 silly placeDep ROOT combined-stream@1.0.8 OK for: form-data@4.0.0 want: ^1.0.8
210 silly placeDep ROOT mime-types@2.1.35 OK for: form-data@4.0.0 want: ^2.1.12
211 silly fetch manifest delayed-stream@~1.0.0
212 silly fetch manifest mime-db@1.52.0
213 http fetch GET 200 https://registry.npmjs.org/delayed-stream 16ms (cache hit)
214 http fetch GET 200 https://registry.npmjs.org/mime-db 85ms (cache revalidated)
215 timing idealTree:node_modules/form-data Completed in 101ms
216 timing idealTree:node_modules/asynckit Completed in 1ms
217 silly placeDep ROOT delayed-stream@1.0.0 OK for: combined-stream@1.0.8 want: ~1.0.0
218 timing idealTree:node_modules/combined-stream Completed in 4ms
219 timing idealTree:node_modules/delayed-stream Completed in 0ms
220 timing idealTree:node_modules/google-protobuf Completed in 0ms
221 timing idealTree:node_modules/long Completed in 0ms
222 silly placeDep ROOT mime-db@1.52.0 OK for: mime-types@2.1.35 want: 1.52.0
223 timing idealTree:node_modules/mime-types Completed in 3ms
224 timing idealTree:node_modules/mime-db Completed in 0ms
225 timing idealTree:node_modules/progress Completed in 0ms
226 timing idealTree:node_modules/regenerator-runtime Completed in 0ms
227 timing idealTree:node_modules/seedrandom Completed in 0ms
228 timing idealTree:node_modules/sprintf-js Completed in 0ms
229 silly placeDep ROOT has-flag@4.0.0 OK for: supports-color@7.2.0 want: ^4.0.0
230 timing idealTree:node_modules/supports-color Completed in 3ms
231 timing idealTree:node_modules/has-flag Completed in 0ms
232 timing idealTree:node_modules/undici-types Completed in 1ms
233 silly placeDep ROOT cliui@7.0.4 OK for: yargs@16.2.0 want: ^7.0.2
234 silly placeDep ROOT escalade@3.1.1 OK for: yargs@16.2.0 want: ^3.1.1
235 silly placeDep ROOT get-caller-file@2.0.5 OK for: yargs@16.2.0 want: ^2.0.5
236 silly placeDep ROOT require-directory@2.1.1 OK for: yargs@16.2.0 want: ^2.1.1
237 silly placeDep ROOT y18n@5.0.8 OK for: yargs@16.2.0 want: ^5.0.5
238 silly placeDep ROOT yargs-parser@20.2.9 OK for: yargs@16.2.0 want: ^20.2.2
239 silly fetch manifest wrap-ansi@^7.0.0
240 http fetch GET 200 https://registry.npmjs.org/wrap-ansi 132ms (cache revalidated)
241 timing idealTree:node_modules/yargs Completed in 159ms
242 silly placeDep ROOT wrap-ansi@7.0.0 OK for: cliui@7.0.4 want: ^7.0.0
243 timing idealTree:node_modules/cliui Completed in 5ms
244 timing idealTree:node_modules/escalade Completed in 0ms
245 timing idealTree:node_modules/get-caller-file Completed in 0ms
246 timing idealTree:node_modules/require-directory Completed in 0ms
247 timing idealTree:node_modules/wrap-ansi Completed in 1ms
248 timing idealTree:node_modules/y18n Completed in 0ms
249 timing idealTree:node_modules/yargs-parser Completed in 0ms
250 timing idealTree:node_modules/@tensorflow/tfjs-core/node_modules/@types/offscreencanvas Completed in 0ms
251 timing idealTree:node_modules/@tensorflow/tfjs-core/node_modules/node-fetch Completed in 0ms
252 timing idealTree:node_modules/@tensorflow/tfjs-data/node_modules/node-fetch Completed in 0ms
253 silly placeDep node_modules/@tensorflow/tfjs-node agent-base@4.3.0 OK for: https-proxy-agent@2.2.4 want: ^4.3.0
254 silly placeDep node_modules/@tensorflow/tfjs-node debug@3.2.7 OK for: https-proxy-agent@2.2.4 want: ^3.1.0
255 silly fetch manifest es6-promisify@^5.0.0
256 http fetch GET 200 https://registry.npmjs.org/es6-promisify 311ms (cache revalidated)
257 timing idealTree:node_modules/@tensorflow/tfjs-node/node_modules/https-proxy-agent Completed in 324ms
258 silly placeDep ROOT es6-promisify@5.0.0 OK for: agent-base@4.3.0 want: ^5.0.0
259 silly fetch manifest es6-promise@^4.0.3
260 http fetch GET 200 https://registry.npmjs.org/es6-promise 847ms (cache revalidated)
261 timing idealTree:node_modules/@tensorflow/tfjs-node/node_modules/agent-base Completed in 855ms
262 silly placeDep ROOT es6-promise@4.2.8 OK for: es6-promisify@5.0.0 want: ^4.0.3
263 timing idealTree:node_modules/es6-promisify Completed in 4ms
264 timing idealTree:node_modules/es6-promise Completed in 0ms
265 timing idealTree:node_modules/@tensorflow/tfjs-node/node_modules/debug Completed in 0ms
266 timing idealTree:node_modules/@tensorflow/tfjs-node/node_modules/rimraf Completed in 1ms
267 silly placeDep node_modules/@tensorflow/tfjs-node chownr@1.1.4 OK for: tar@4.4.19 want: ^1.1.4
268 silly placeDep node_modules/@tensorflow/tfjs-node fs-minipass@1.2.7 OK for: tar@4.4.19 want: ^1.2.7
269 silly placeDep node_modules/@tensorflow/tfjs-node minipass@2.9.0 OK for: tar@4.4.19 want: ^2.9.0
270 silly placeDep node_modules/@tensorflow/tfjs-node minizlib@1.3.3 OK for: tar@4.4.19 want: ^1.3.3
271 silly placeDep node_modules/@tensorflow/tfjs-node mkdirp@0.5.6 OK for: tar@4.4.19 want: ^0.5.5
272 silly placeDep node_modules/@tensorflow/tfjs-node yallist@3.1.1 OK for: tar@4.4.19 want: ^3.1.1
273 silly fetch manifest minimist@^1.2.6
274 http fetch GET 200 https://registry.npmjs.org/minimist 124ms (cache revalidated)
275 timing idealTree:node_modules/@tensorflow/tfjs-node/node_modules/tar Completed in 154ms
276 timing idealTree:node_modules/@tensorflow/tfjs-node/node_modules/chownr Completed in 0ms
277 timing idealTree:node_modules/@tensorflow/tfjs-node/node_modules/fs-minipass Completed in 0ms
278 timing idealTree:node_modules/@tensorflow/tfjs-node/node_modules/minipass Completed in 1ms
279 timing idealTree:node_modules/@tensorflow/tfjs-node/node_modules/minizlib Completed in 0ms
280 silly placeDep ROOT minimist@1.2.8 OK for: mkdirp@0.5.6 want: ^1.2.6
281 timing idealTree:node_modules/@tensorflow/tfjs-node/node_modules/mkdirp Completed in 4ms
282 timing idealTree:node_modules/minimist Completed in 0ms
283 timing idealTree:node_modules/@tensorflow/tfjs-node/node_modules/yallist Completed in 0ms
284 timing idealTree:buildDeps Completed in 9884ms
285 timing idealTree:fixDepFlags Completed in 5ms
286 timing idealTree Completed in 10038ms
287 timing reify:loadTrees Completed in 10040ms
288 timing reify:diffTrees Completed in 15ms
289 silly reify moves {}
290 timing reify:retireShallow Completed in 5ms
291 timing reify:createSparse Completed in 25ms
292 timing reify:loadBundles Completed in 0ms
293 silly audit bulk request {
293 silly audit   '@mapbox/node-pre-gyp': [ '1.0.9' ],
293 silly audit   abbrev: [ '1.1.1' ],
293 silly audit   'agent-base': [ '6.0.2', '4.3.0' ],
293 silly audit   'ansi-regex': [ '5.0.1' ],
293 silly audit   aproba: [ '2.0.0' ],
293 silly audit   'are-we-there-yet': [ '2.0.0' ],
293 silly audit   'balanced-match': [ '1.0.2' ],
293 silly audit   'brace-expansion': [ '1.1.11' ],
293 silly audit   chownr: [ '2.0.0', '1.1.4' ],
293 silly audit   'color-support': [ '1.1.3' ],
293 silly audit   'concat-map': [ '0.0.1' ],
293 silly audit   'console-control-strings': [ '1.1.0' ],
293 silly audit   debug: [ '4.3.4', '3.2.7' ],
293 silly audit   delegates: [ '1.0.0' ],
293 silly audit   'detect-libc': [ '2.0.2' ],
293 silly audit   'emoji-regex': [ '8.0.0' ],
293 silly audit   'fs-minipass': [ '2.1.0', '1.2.7' ],
293 silly audit   minipass: [ '3.3.6', '5.0.0', '2.9.0' ],
293 silly audit   'fs.realpath': [ '1.0.0' ],
293 silly audit   gauge: [ '3.0.2' ],
293 silly audit   glob: [ '7.2.3' ],
293 silly audit   'has-unicode': [ '2.0.1' ],
293 silly audit   'https-proxy-agent': [ '5.0.1', '2.2.4' ],
293 silly audit   inflight: [ '1.0.6' ],
293 silly audit   inherits: [ '2.0.4' ],
293 silly audit   'is-fullwidth-code-point': [ '3.0.0' ],
293 silly audit   'lru-cache': [ '6.0.0' ],
293 silly audit   'make-dir': [ '3.1.0' ],
293 silly audit   semver: [ '6.3.1', '7.5.4' ],
293 silly audit   minimatch: [ '3.1.2' ],
293 silly audit   minizlib: [ '2.1.2', '1.3.3' ],
293 silly audit   mkdirp: [ '1.0.4', '0.5.6' ],
293 silly audit   ms: [ '2.1.2' ],
293 silly audit   'node-fetch': [ '2.7.0', '2.6.13' ],
293 silly audit   nopt: [ '5.0.0' ],
293 silly audit   npmlog: [ '5.0.1' ],
293 silly audit   'object-assign': [ '4.1.1' ],
293 silly audit   once: [ '1.4.0' ],
293 silly audit   'path-is-absolute': [ '1.0.1' ],
293 silly audit   'readable-stream': [ '3.6.2' ],
293 silly audit   rimraf: [ '3.0.2', '2.7.1' ],
293 silly audit   'safe-buffer': [ '5.2.1' ],
293 silly audit   'set-blocking': [ '2.0.0' ],
293 silly audit   'signal-exit': [ '3.0.7' ],
293 silly audit   string_decoder: [ '1.3.0' ],
293 silly audit   'string-width': [ '4.2.3' ],
293 silly audit   'strip-ansi': [ '6.0.1' ],
293 silly audit   tar: [ '6.2.0', '4.4.19' ],
293 silly audit   tr46: [ '0.0.3' ],
293 silly audit   'util-deprecate': [ '1.0.2' ],
293 silly audit   'webidl-conversions': [ '3.0.1' ],
293 silly audit   'whatwg-url': [ '5.0.0' ],
293 silly audit   'wide-align': [ '1.1.5' ],
293 silly audit   wrappy: [ '1.0.2' ],
293 silly audit   yallist: [ '4.0.0', '3.1.1' ],
293 silly audit   '@tensorflow/tfjs-node': [ '4.15.0' ],
293 silly audit   '@tensorflow/tfjs': [ '4.15.0' ],
293 silly audit   'adm-zip': [ '0.5.10' ],
293 silly audit   'google-protobuf': [ '3.21.2' ],
293 silly audit   progress: [ '2.0.3' ],
293 silly audit   '@tensorflow/tfjs-backend-cpu': [ '4.15.0' ],
293 silly audit   '@tensorflow/tfjs-core': [ '4.15.0' ],
293 silly audit   '@tensorflow/tfjs-backend-webgl': [ '4.15.0' ],
293 silly audit   '@tensorflow/tfjs-converter': [ '4.15.0' ],
293 silly audit   '@tensorflow/tfjs-data': [ '4.15.0' ],
293 silly audit   seedrandom: [ '3.0.5' ],
293 silly audit   '@tensorflow/tfjs-layers': [ '4.15.0' ],
293 silly audit   argparse: [ '1.0.10' ],
293 silly audit   chalk: [ '4.1.2' ],
293 silly audit   'core-js': [ '3.29.1' ],
293 silly audit   'regenerator-runtime': [ '0.13.11' ],
293 silly audit   yargs: [ '16.2.0' ],
293 silly audit   '@types/seedrandom': [ '2.4.34' ],
293 silly audit   '@types/offscreencanvas': [ '2019.3.0', '2019.7.3' ],
293 silly audit   '@types/long': [ '4.0.2' ],
293 silly audit   '@webgpu/types': [ '0.1.38' ],
293 silly audit   long: [ '4.0.0' ],
293 silly audit   '@types/node-fetch': [ '2.6.10' ],
293 silly audit   '@types/node': [ '20.10.6' ],
293 silly audit   'form-data': [ '4.0.0' ],
293 silly audit   'undici-types': [ '5.26.5' ],
293 silly audit   'sprintf-js': [ '1.0.3' ],
293 silly audit   'ansi-styles': [ '4.3.0' ],
293 silly audit   'supports-color': [ '7.2.0' ],
293 silly audit   'color-convert': [ '2.0.1' ],
293 silly audit   'color-name': [ '1.1.4' ],
293 silly audit   asynckit: [ '0.4.0' ],
293 silly audit   'combined-stream': [ '1.0.8' ],
293 silly audit   'mime-types': [ '2.1.35' ],
293 silly audit   'delayed-stream': [ '1.0.0' ],
293 silly audit   'mime-db': [ '1.52.0' ],
293 silly audit   'has-flag': [ '4.0.0' ],
293 silly audit   cliui: [ '7.0.4' ],
293 silly audit   escalade: [ '3.1.1' ],
293 silly audit   'get-caller-file': [ '2.0.5' ],
293 silly audit   'require-directory': [ '2.1.1' ],
293 silly audit   y18n: [ '5.0.8' ],
293 silly audit   'yargs-parser': [ '20.2.9' ],
293 silly audit   'wrap-ansi': [ '7.0.0' ],
293 silly audit   'es6-promisify': [ '5.0.0' ],
293 silly audit   'es6-promise': [ '4.2.8' ],
293 silly audit   minimist: [ '1.2.8' ]
293 silly audit }
294 silly tarball no local data for minimist@https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz. Extracting by manifest.
295 silly tarball no local data for undici-types@https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz. Extracting by manifest.
296 silly tarball no local data for form-data@https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz. Extracting by manifest.
297 silly tarball no local data for @types/node-fetch@https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.10.tgz. Extracting by manifest.
298 silly tarball no local data for @types/node@https://registry.npmjs.org/@types/node/-/node-20.10.6.tgz. Extracting by manifest.
299 silly tarball no local data for @types/long@https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz. Extracting by manifest.
300 silly tarball no local data for @types/offscreencanvas@https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.3.0.tgz. Extracting by manifest.
301 silly tarball no local data for @types/seedrandom@https://registry.npmjs.org/@types/seedrandom/-/seedrandom-2.4.34.tgz. Extracting by manifest.
302 silly tarball no local data for regenerator-runtime@https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz. Extracting by manifest.
303 silly tarball no local data for core-js@https://registry.npmjs.org/core-js/-/core-js-3.29.1.tgz. Extracting by manifest.
304 silly tarball no local data for @tensorflow/tfjs-layers@https://registry.npmjs.org/@tensorflow/tfjs-layers/-/tfjs-layers-4.15.0.tgz. Extracting by manifest.
305 silly tarball no local data for @tensorflow/tfjs-data@https://registry.npmjs.org/@tensorflow/tfjs-data/-/tfjs-data-4.15.0.tgz. Extracting by manifest.
306 silly tarball no local data for node-fetch@https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.13.tgz. Extracting by manifest.
307 silly tarball no local data for @tensorflow/tfjs-converter@https://registry.npmjs.org/@tensorflow/tfjs-converter/-/tfjs-converter-4.15.0.tgz. Extracting by manifest.
308 silly tarball no local data for @tensorflow/tfjs-backend-webgl@https://registry.npmjs.org/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-4.15.0.tgz. Extracting by manifest.
309 silly tarball no local data for @tensorflow/tfjs-core@https://registry.npmjs.org/@tensorflow/tfjs-core/-/tfjs-core-4.15.0.tgz. Extracting by manifest.
310 silly tarball no local data for @types/offscreencanvas@https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.7.3.tgz. Extracting by manifest.
311 silly tarball no local data for node-fetch@https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.13.tgz. Extracting by manifest.
312 silly tarball no local data for @tensorflow/tfjs-backend-cpu@https://registry.npmjs.org/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-4.15.0.tgz. Extracting by manifest.
313 silly tarball no local data for progress@https://registry.npmjs.org/progress/-/progress-2.0.3.tgz. Extracting by manifest.
314 silly tarball no local data for adm-zip@https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.10.tgz. Extracting by manifest.
315 silly tarball no local data for google-protobuf@https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.21.2.tgz. Extracting by manifest.
316 silly tarball no local data for @tensorflow/tfjs@https://registry.npmjs.org/@tensorflow/tfjs/-/tfjs-4.15.0.tgz. Extracting by manifest.
317 silly tarball no local data for @tensorflow/tfjs-node@https://registry.npmjs.org/@tensorflow/tfjs-node/-/tfjs-node-4.15.0.tgz. Extracting by manifest.
318 silly tarball no local data for yallist@https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz. Extracting by manifest.
319 silly tarball no local data for mkdirp@https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz. Extracting by manifest.
320 silly tarball no local data for minizlib@https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz. Extracting by manifest.
321 silly tarball no local data for minipass@https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz. Extracting by manifest.
322 silly tarball no local data for fs-minipass@https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz. Extracting by manifest.
323 silly tarball no local data for chownr@https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz. Extracting by manifest.
324 silly tarball no local data for tar@https://registry.npmjs.org/tar/-/tar-4.4.19.tgz. Extracting by manifest.
325 silly tarball no local data for rimraf@https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz. Extracting by manifest.
326 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 540ms
327 timing auditReport:getReport Completed in 555ms
328 silly audit report {}
329 timing auditReport:init Completed in 0ms
330 timing reify:audit Completed in 557ms
331 http fetch GET 200 https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz 532ms (cache miss)
332 http fetch GET 200 https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.3.0.tgz 582ms (cache miss)
333 timing reifyNode:node_modules/wrap-ansi Completed in 770ms
334 timing reifyNode:node_modules/color-name Completed in 771ms
335 timing reifyNode:node_modules/es6-promisify Completed in 794ms
336 timing reifyNode:node_modules/@types/offscreencanvas Completed in 798ms
337 timing reifyNode:node_modules/has-flag Completed in 846ms
338 timing reifyNode:node_modules/supports-color Completed in 846ms
339 http fetch GET 200 https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.10.tgz 704ms (cache miss)
340 http fetch GET 200 https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz 614ms (cache miss)
341 timing reifyNode:node_modules/mime-types Completed in 859ms
342 timing reifyNode:node_modules/combined-stream Completed in 861ms
343 timing reifyNode:node_modules/ansi-styles Completed in 863ms
344 timing reifyNode:node_modules/@types/node-fetch Completed in 876ms
345 http fetch GET 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz 659ms (cache miss)
346 timing reifyNode:node_modules/@webgpu/types Completed in 895ms
347 timing reifyNode:node_modules/get-caller-file Completed in 908ms
348 http fetch GET 200 https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz 666ms (cache miss)
349 timing reifyNode:node_modules/delayed-stream Completed in 915ms
350 http fetch GET 200 https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz 674ms (cache miss)
351 http fetch GET 200 https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz 701ms (cache miss)
352 http fetch GET 200 https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz 721ms (cache miss)
353 http fetch GET 200 https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz 696ms (cache miss)
354 http fetch GET 200 https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz 791ms (cache miss)
355 timing reifyNode:node_modules/regenerator-runtime Completed in 956ms
356 timing reifyNode:node_modules/require-directory Completed in 963ms
357 timing reifyNode:node_modules/@tensorflow/tfjs-node/node_modules/https-proxy-agent Completed in 955ms
358 timing reifyNode:node_modules/color-convert Completed in 963ms
359 timing reifyNode:node_modules/@tensorflow/tfjs-node/node_modules/minipass Completed in 958ms
360 http fetch GET 200 https://registry.npmjs.org/progress/-/progress-2.0.3.tgz 757ms (cache miss)
361 timing reifyNode:node_modules/@tensorflow/tfjs-node/node_modules/yallist Completed in 963ms
362 timing reifyNode:node_modules/@tensorflow/tfjs-node/node_modules/minizlib Completed in 964ms
363 timing reifyNode:node_modules/@tensorflow/tfjs-node/node_modules/fs-minipass Completed in 965ms
364 timing reifyNode:node_modules/chalk Completed in 975ms
365 timing reifyNode:node_modules/@tensorflow/tfjs-node/node_modules/chownr Completed in 972ms
366 timing reifyNode:node_modules/progress Completed in 982ms
367 timing reifyNode:node_modules/form-data Completed in 993ms
368 timing reifyNode:node_modules/cliui Completed in 1001ms
369 timing reifyNode:node_modules/mime-db Completed in 1005ms
370 timing reifyNode:node_modules/@tensorflow/tfjs-node/node_modules/mkdirp Completed in 1001ms
371 timing reifyNode:node_modules/escalade Completed in 1011ms
372 timing reifyNode:node_modules/@tensorflow/tfjs-node/node_modules/rimraf Completed in 1007ms
373 timing reifyNode:node_modules/@tensorflow/tfjs-node/node_modules/debug Completed in 1010ms
374 timing reifyNode:node_modules/y18n Completed in 1022ms
375 timing reifyNode:node_modules/long Completed in 1023ms
376 timing reifyNode:node_modules/@tensorflow/tfjs-node/node_modules/agent-base Completed in 1022ms
377 timing reifyNode:node_modules/yargs-parser Completed in 1085ms
378 http fetch GET 200 https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.13.tgz 888ms (cache miss)
379 timing reifyNode:node_modules/@tensorflow/tfjs-core/node_modules/node-fetch Completed in 1087ms
380 http fetch GET 200 https://registry.npmjs.org/@types/seedrandom/-/seedrandom-2.4.34.tgz 994ms (cache miss)
381 timing reifyNode:node_modules/sprintf-js Completed in 1164ms
382 http fetch GET 200 https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.13.tgz 986ms (cache miss)
383 timing reifyNode:node_modules/@tensorflow/tfjs-data/node_modules/node-fetch Completed in 1167ms
384 timing reifyNode:node_modules/@types/seedrandom Completed in 1170ms
385 timing reifyNode:node_modules/asynckit Completed in 1216ms
386 http fetch GET 200 https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz 1070ms (cache miss)
387 timing reifyNode:node_modules/@types/long Completed in 1225ms
388 http fetch GET 200 https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.10.tgz 1053ms (cache miss)
389 timing reifyNode:node_modules/adm-zip Completed in 1279ms
390 http fetch GET 200 https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz 1185ms (cache miss)
391 timing reifyNode:node_modules/minimist Completed in 1332ms
392 timing reifyNode:node_modules/argparse Completed in 1374ms
393 timing reifyNode:node_modules/es6-promise Completed in 1433ms
394 http fetch GET 200 https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz 1318ms (cache miss)
395 http fetch GET 200 https://registry.npmjs.org/tar/-/tar-4.4.19.tgz 1210ms (cache miss)
396 timing reifyNode:node_modules/undici-types Completed in 1545ms
397 timing reifyNode:node_modules/@tensorflow/tfjs-node/node_modules/tar Completed in 1545ms
398 http fetch GET 200 https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.21.2.tgz 1385ms (cache miss)
399 timing reifyNode:node_modules/google-protobuf Completed in 1599ms
400 timing reifyNode:node_modules/seedrandom Completed in 1832ms
401 http fetch GET 200 https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.7.3.tgz 1775ms (cache miss)
402 timing reifyNode:node_modules/@tensorflow/tfjs-core/node_modules/@types/offscreencanvas Completed in 1971ms
403 timing reifyNode:node_modules/yargs Completed in 1990ms
404 http fetch GET 200 https://registry.npmjs.org/@tensorflow/tfjs-data/-/tfjs-data-4.15.0.tgz 2860ms (cache miss)
405 timing reifyNode:node_modules/@tensorflow/tfjs-data Completed in 3043ms
406 http fetch GET 200 https://registry.npmjs.org/@types/node/-/node-20.10.6.tgz 3175ms (cache miss)
407 timing reifyNode:node_modules/@types/node Completed in 3327ms
408 http fetch GET 200 https://registry.npmjs.org/@tensorflow/tfjs-converter/-/tfjs-converter-4.15.0.tgz 5399ms (cache miss)
409 timing reifyNode:node_modules/@tensorflow/tfjs-converter Completed in 5592ms
410 http fetch GET 200 https://registry.npmjs.org/@tensorflow/tfjs-node/-/tfjs-node-4.15.0.tgz 6308ms (cache miss)
411 timing reifyNode:node_modules/@tensorflow/tfjs-node Completed in 6533ms
412 http fetch GET 200 https://registry.npmjs.org/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-4.15.0.tgz 6957ms (cache miss)
413 timing reifyNode:node_modules/@tensorflow/tfjs-backend-cpu Completed in 7160ms
414 http fetch GET 200 https://registry.npmjs.org/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-4.15.0.tgz 7273ms (cache miss)
415 timing reifyNode:node_modules/@tensorflow/tfjs-backend-webgl Completed in 7467ms
416 http fetch GET 200 https://registry.npmjs.org/@tensorflow/tfjs-layers/-/tfjs-layers-4.15.0.tgz 8672ms (cache miss)
417 timing reifyNode:node_modules/@tensorflow/tfjs-layers Completed in 8847ms
418 http fetch GET 200 https://registry.npmjs.org/@tensorflow/tfjs-core/-/tfjs-core-4.15.0.tgz 12160ms (cache miss)
419 timing reifyNode:node_modules/@tensorflow/tfjs-core Completed in 12355ms
420 http fetch GET 200 https://registry.npmjs.org/@tensorflow/tfjs/-/tfjs-4.15.0.tgz 12939ms (cache miss)
421 timing reifyNode:node_modules/@tensorflow/tfjs Completed in 13156ms
422 http fetch GET 200 https://registry.npmjs.org/core-js/-/core-js-3.29.1.tgz 14169ms (cache miss)
423 timing reifyNode:node_modules/core-js Completed in 14341ms
424 timing reify:unpack Completed in 14350ms
425 timing reify:unretire Completed in 1ms
426 timing build:queue Completed in 7ms
427 timing build:link:node_modules/@tensorflow/tfjs-node/node_modules/mkdirp Completed in 12ms
428 timing build:link:node_modules/@tensorflow/tfjs-node/node_modules/rimraf Completed in 13ms
429 timing build:link:node_modules/@tensorflow/tfjs Completed in 15ms
430 timing build:link Completed in 15ms
431 info run @tensorflow/tfjs-node@4.15.0 install node_modules/@tensorflow/tfjs-node node scripts/install.js
432 info run @tensorflow/tfjs-node@4.15.0 install { code: 1, signal: null }
433 warn cleanup Failed to remove some directories [
433 warn cleanup   [
433 warn cleanup     'D:\\YSR\\JavaScript\\AI, NodeJS and TensorFlow.js Projects\\baggage_detection_sys\\node_modules\\@tensorflow',
433 warn cleanup     [Error: EPERM: operation not permitted, rmdir 'D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_sys\node_modules\@tensorflow\tfjs-node'] {
433 warn cleanup       errno: -4048,
433 warn cleanup       code: 'EPERM',
433 warn cleanup       syscall: 'rmdir',
433 warn cleanup       path: 'D:\\YSR\\JavaScript\\AI, NodeJS and TensorFlow.js Projects\\baggage_detection_sys\\node_modules\\@tensorflow\\tfjs-node'
433 warn cleanup     }
433 warn cleanup   ]
433 warn cleanup ]
434 timing reify:rollback:createSparse Completed in 1584ms
435 timing reify:rollback:retireShallow Completed in 1ms
436 timing command:install Completed in 57406ms
437 verbose stack Error: command failed
437 verbose stack     at ChildProcess.<anonymous> (C:\Users\frfvi\AppData\Roaming\nvm\v19.9.0\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:53:27)
437 verbose stack     at ChildProcess.emit (node:events:513:28)
437 verbose stack     at maybeClose (node:internal/child_process:1098:16)
437 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:304:5)
438 verbose pkgid @tensorflow/tfjs-node@4.15.0
439 verbose cwd D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_sys
440 verbose Windows_NT 10.0.22635
441 verbose node v19.9.0
442 verbose npm  v9.6.3
443 error code 1
444 error path D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_sys\node_modules\@tensorflow\tfjs-node
445 error command failed
446 error command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/install.js
447 error CPU-windows-4.15.0.zip
447 error https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-windows-x86_64-2.9.1.zip
447 error node-pre-gyp install failed with error: Error: Command failed: node-pre-gyp install --fallback-to-build
447 error node-pre-gyp info it worked if it ends with ok
447 error node-pre-gyp info using node-pre-gyp@1.0.9
447 error node-pre-gyp info using node@19.9.0 | win32 | x64
447 error node-pre-gyp info check checked for "D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_sys\node_modules\@tensorflow\tfjs-node\lib\napi-v8\tfjs_binding.node" (not found)
447 error node-pre-gyp http GET https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/4.15.0/CPU-windows-4.15.0.zip
447 error node-pre-gyp ERR! install response status 404 Not Found on https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/4.15.0/CPU-windows-4.15.0.zip 
447 error node-pre-gyp WARN Pre-built binaries not installable for @tensorflow/tfjs-node@4.15.0 and node@19.9.0 (node-v111 ABI, unknown) (falling back to source compile with node-gyp) 
447 error node-pre-gyp WARN Hit error response status 404 Not Found on https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/4.15.0/CPU-windows-4.15.0.zip 
447 error gyp info it worked if it ends with ok
447 error gyp info using node-gyp@9.3.1
447 error gyp info using node@19.9.0 | win32 | x64
447 error gyp info ok 
447 error gyp info it worked if it ends with ok
447 error gyp info using node-gyp@9.3.1
447 error gyp info using node@19.9.0 | win32 | x64
447 error gyp info find Python using Python version 3.9.10 found at "D:\Apps\python3.9.10\python.exe"
447 error gyp info find VS using VS2022 (17.8.34330.188) found at:
447 error gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
447 error gyp info find VS run with --verbose for detailed information
447 error gyp info spawn D:\Apps\python3.9.10\python.exe
447 error gyp info spawn args [
447 error gyp info spawn args   'C:\\Users\\frfvi\\AppData\\Roaming\\nvm\\v19.9.0\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
447 error gyp info spawn args   'binding.gyp',
447 error gyp info spawn args   '-f',
447 error gyp info spawn args   'msvs',
447 error gyp info spawn args   '-I',
447 error gyp info spawn args   'D:\\YSR\\JavaScript\\AI, NodeJS and TensorFlow.js Projects\\baggage_detection_sys\\node_modules\\@tensorflow\\tfjs-node\\build\\config.gypi',
447 error gyp info spawn args   '-I',
447 error gyp info spawn args   'C:\\Users\\frfvi\\AppData\\Roaming\\nvm\\v19.9.0\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
447 error gyp info spawn args   '-I',
447 error gyp info spawn args   'C:\\Users\\frfvi\\AppData\\Local\\node-gyp\\Cache\\19.9.0\\include\\node\\common.gypi',
447 error gyp info spawn args   '-Dlibrary=shared_library',
447 error gyp info spawn args   '-Dvisibility=default',
447 error gyp info spawn args   '-Dnode_root_dir=C:\\Users\\frfvi\\AppData\\Local\\node-gyp\\Cache\\19.9.0',
447 error gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\frfvi\\AppData\\Roaming\\nvm\\v19.9.0\\node_modules\\npm\\node_modules\\node-gyp',
447 error gyp info spawn args   '-Dnode_lib_file=C:\\\\Users\\\\frfvi\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\19.9.0\\\\<(target_arch)\\\\node.lib',
447 error gyp info spawn args   '-Dmodule_root_dir=D:\\YSR\\JavaScript\\AI, NodeJS and TensorFlow.js Projects\\baggage_detection_sys\\node_modules\\@tensorflow\\tfjs-node',
447 error gyp info spawn args   '-Dnode_engine=v8',
447 error gyp info spawn args   '--depth=.',
447 error gyp info spawn args   '--no-parallel',
447 error gyp info spawn args   '--generator-output',
447 error gyp info spawn args   'D:\\YSR\\JavaScript\\AI, NodeJS and TensorFlow.js Projects\\baggage_detection_sys\\node_modules\\@tensorflow\\tfjs-node\\build',
447 error gyp info spawn args   '-Goutput_dir=.'
447 error gyp info spawn args ]
447 error gyp info ok 
447 error gyp info it worked if it ends with ok
447 error gyp info using node-gyp@9.3.1
447 error gyp info using node@19.9.0 | win32 | x64
447 error gyp info spawn C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe
447 error gyp info spawn args [
447 error gyp info spawn args   'build/binding.sln',
447 error gyp info spawn args   '/clp:Verbosity=minimal',
447 error gyp info spawn args   '/nologo',
447 error gyp info spawn args   '/p:Configuration=Release;Platform=x64'
447 error gyp info spawn args ]
447 error gyp ERR! build error 
447 error gyp ERR! stack Error: `C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
447 error gyp ERR! stack     at ChildProcess.onExit (C:\Users\frfvi\AppData\Roaming\nvm\v19.9.0\node_modules\npm\node_modules\node-gyp\lib\build.js:203:23)
447 error gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
447 error gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
447 error gyp ERR! System Windows_NT 10.0.22635
447 error gyp ERR! command "D:\\APPS\\nodejs\\node.exe" "C:\\Users\\frfvi\\AppData\\Roaming\\nvm\\v19.9.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" "--fallback-to-build" "--module=D:\\YSR\\JavaScript\\AI, NodeJS and TensorFlow.js Projects\\baggage_detection_sys\\node_modules\\@tensorflow\\tfjs-node\\lib\\napi-v8\\tfjs_binding.node" "--module_name=tfjs_binding" "--module_path=D:\\YSR\\JavaScript\\AI, NodeJS and TensorFlow.js Projects\\baggage_detection_sys\\node_modules\\@tensorflow\\tfjs-node\\lib\\napi-v8" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=8" "--node_napi_label=napi-v8"
447 error gyp ERR! cwd D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_sys\node_modules\@tensorflow\tfjs-node
447 error gyp ERR! node -v v19.9.0
447 error gyp ERR! node-gyp -v v9.3.1
447 error gyp ERR! not ok 
447 error node-pre-gyp ERR! build error 
447 error node-pre-gyp ERR! stack Error: Failed to execute 'D:\APPS\nodejs\node.exe C:\Users\frfvi\AppData\Roaming\nvm\v19.9.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_sys\node_modules\@tensorflow\tfjs-node\lib\napi-v8\tfjs_binding.node --module_name=tfjs_binding --module_path=D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_sys\node_modules\@tensorflow\tfjs-node\lib\napi-v8 --napi_version=8 --node_abi_napi=napi --napi_build_version=8 --node_napi_label=napi-v8' (1)
447 error node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_sys\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23)
447 error node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
447 error node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1098:16)
447 error node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:304:5)
447 error node-pre-gyp ERR! System Windows_NT 10.0.22635
447 error node-pre-gyp ERR! command "D:\\APPS\\nodejs\\node.exe" "D:\\YSR\\JavaScript\\AI, NodeJS and TensorFlow.js Projects\\baggage_detection_sys\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
447 error node-pre-gyp ERR! cwd D:\YSR\JavaScript\AI, NodeJS and TensorFlow.js Projects\baggage_detection_sys\node_modules\@tensorflow\tfjs-node
447 error node-pre-gyp ERR! node -v v19.9.0
447 error node-pre-gyp ERR! node-pre-gyp -v v1.0.9
447 error node-pre-gyp ERR! not ok
448 error * Downloading libtensorflow
448 error
448 error * Building TensorFlow Node.js bindings
449 verbose exit 1
450 timing npm Completed in 57804ms
451 verbose unfinished npm timer reify 1704232887421
452 verbose unfinished npm timer reify:build 1704232911898
453 verbose unfinished npm timer build 1704232911899
454 verbose unfinished npm timer build:deps 1704232911900
455 verbose unfinished npm timer build:run:install 1704232911922
456 verbose unfinished npm timer build:run:install:node_modules/@tensorflow/tfjs-node 1704232911923
457 verbose code 1
458 error A complete log of this run can be found in: C:\Users\frfvi\AppData\Local\npm-cache\_logs\2024-01-02T22_01_27_296Z-debug-0.log
gaikwadrahul8 commented 11 months ago

Hi, @YaserFazil

I believe you set the system environment variables path for both Python and Microsoft visual studio and tried in brand new empty Node.js project to confirm, could you please help me with your exact steps which you're following to install tfjs-node to help you further ?

I see you're also using pyenv and nvm to install tfjs-node so have you checked and followed my commands from above output log please ? if not, please give it try by creating new empty Node.js project and see is it solving your issue or not ?

Thank you for your understanding and patience.

YaserFazil commented 11 months ago

Hey there, @gaikwadrahul8

Yeah, I exactly applied what you did in your output log.

gaikwadrahul8 commented 11 months ago

Hi, @YaserFazil

Thank you for the confirmation and could you please follow below steps or earlier mentioned steps in my output log with sudo permission with Python version 3.11 or different Python versions 3.6, 3.8 Or 3.10 and see is it installing the tfjs-node successfully on your system

tfjs-node requires AVX processors and tfjs-node library uses AVX instructions to improve the performance of its operations. If your CPU does not support AVX, as far I know you will not be able to use tfjs-node if I'm not wrong so to check AVX support please follow below steps

Thank you for your understanding and patience.

gaikwadrahul8 commented 11 months ago

Hi, @YaserFazil

Could you please confirm, are you able to install tfjs-node on your windows system ? If so please feel free to close this issue.

If issue still persists please let us know with new error log. Thank you for your understanding and patience.

YaserFazil commented 11 months ago

Hello there @gaikwadrahul8 , I apologize for the delay; I've been quite busy lately and haven't had a chance to check yet. I'll review it as soon as possible.

By the way, could you please provide more details about the issue? Perhaps I can contribute to solving the problem, as I've encountered similar issues in the past and successfully resolved them.

gaikwadrahul8 commented 11 months ago

Hi, @YaserFazil

Thank you for the update from your end and our relavant team is aware of this issue and they're working on it to fix as soon as possible at the moment with latest Node.js versions while installing the tfjs-node on Windows 10 and Windows 11 users are facing below error most of the time while Building TensorFlow Node.js bindings

I would request you to please give it try from your end with above mentioned workaround and suggestion whenever you get chance and let us know, is it resolving your issue or not ?

Thank you for your understanding and patience

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:\Users\thedude\dev\someproject\node_modules\@tensorflow\tfjs-node\deps\lib\tensorflow.dll' -> 'C:\Users\thedude\dev\someproject\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:\\Users\\thedude\\dev\\someproject\\node_modules\\@tensorflow\\tfjs-node\\deps\\lib\\tensorflow.dll',
npm ERR!   dest: 'C:\\Users\\thedude\\dev\\someproject\\node_modules\\@tensorflow\\tfjs-node\\lib\\napi-v9\\tensorflow.dll'
npm ERR! }
npm ERR!
npm ERR! Node.js v20.7.0
npm ERR!
npm ERR!     at ChildProcess.exithandler (node:child_process:422:12)
npm ERR!     at ChildProcess.emit (node:events:514: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! }
Dawn-lsl commented 10 months ago

Hi,@gaikwadrahul8 I use node 18.17.1 npm 10.2.5 node-gyp 10.0.1 Python 3.12.1 and execute workaround and suggestion . It still reports an error. When I executed node-gyp configure --msvs_version=2022, an error occurred. I built a binding.gyp file myself, and no error occurred after re-executing it.

PS C:\Users\new\Desktop\file\face-demo> npm init -y
Wrote to C:\Users\new\Desktop\file\face-demo\package.json:

{
  "name": "face-demo",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC"
}

PS C:\Users\new\Desktop\file\face-demo> npm install -g node-gyp

changed 99 packages in 11s
PS C:\Users\new\Desktop\file\face-demo> node-gyp configure --msvs_version=2022
gyp info it worked if it ends with ok
gyp info using node-gyp@10.0.1
gyp info using node@18.17.1 | win32 | x64
gyp info find Python using Python version 3.12.1 found at "C:\Users\new\AppData\Local\Programs\Python\Python312\python.exe"

gyp info find VS using VS2022 (17.8.34330.188) found at:
gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Professional"
gyp info find VS run with --verbose for detailed information
gyp info spawn C:\Users\new\AppData\Local\Programs\Python\Python312\python.exe
gyp info spawn args [
gyp info spawn args 'H:\\nvm\\v18.17.1\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\new\\Desktop\\file\\face-demo\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'H:\\nvm\\v18.17.1\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\new\\AppData\\Local\\node-gyp\\Cache\\18.17.1\\include\\node\\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\\Users\\new\\AppData\\Local\\node-gyp\\Cache\\18.17.1',
gyp info spawn args '-Dnode_gyp_dir=H:\\nvm\\v18.17.1\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\new\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\18.17.1\\\\<(target_arch)\\\\node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\\Users\\new\\Desktop\\file\\face-demo',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\\Users\\new\\Desktop\\file\\face-demo\\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp: binding.gyp not found (cwd: C:\Users\new\Desktop\file\face-demo) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.<anonymous> (H:\nvm\v18.17.1\node_modules\node-gyp\lib\configure.js:271:18)
gyp ERR! stack at ChildProcess.emit (node:events:514:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Windows_NT 10.0.22621
gyp ERR! command "H:\\nvm\\nodejs\\node.exe" "H:\\nvm\\nodejs\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--msvs_version=2022"
gyp ERR! cwd C:\Users\new\Desktop\file\face-demo
gyp ERR! node -v v18.17.1
gyp ERR! node-gyp -v v10.0.1
gyp ERR! not ok
PS C:\Users\new\Desktop\file\face-demo> node-gyp configure --msvs_version=2022
gyp info it worked if it ends with ok
gyp info using node-gyp@10.0.1
gyp info using node@18.17.1 | win32 | x64
gyp info find Python using Python version 3.12.1 found at "C:\Users\new\AppData\Local\Programs\Python\Python312\python.exe"

gyp info find VS using VS2022 (17.8.34330.188) found at:
gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Professional"
gyp info find VS run with --verbose for detailed information
gyp info spawn C:\Users\new\AppData\Local\Programs\Python\Python312\python.exe
gyp info spawn args [
gyp info spawn args 'H:\\nvm\\v18.17.1\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\new\\Desktop\\file\\face-demo\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'H:\\nvm\\v18.17.1\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\new\\AppData\\Local\\node-gyp\\Cache\\18.17.1\\include\\node\\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\\Users\\new\\AppData\\Local\\node-gyp\\Cache\\18.17.1',
gyp info spawn args '-Dnode_gyp_dir=H:\\nvm\\v18.17.1\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\new\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\18.17.1\\\\<(target_arch)\\\\node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\\Users\\new\\Desktop\\file\\face-demo',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\\Users\\new\\Desktop\\file\\face-demo\\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
Warning: Missing input files:
C:\Users\new\Desktop\file\face-demo\build\..\src\binding.cc
gyp info ok
PS C:\Users\new\Desktop\file\face-demo> set npm_config_python="C:\Users\new\AppData\Local\Programs\Python\Python312\python.exe"
PS C:\Users\new\Desktop\file\face-demo> npm install @tensorflow/tfjs-node
npm ERR! code 1
npm ERR! path C:\Users\new\Desktop\file\face-demo\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-4.15.0.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:288
npm ERR!             triggerUncaughtException(err, true /* fromPromise */);
npm ERR!             ^
npm ERR!
npm ERR! [Error: ENOENT: no such file or directory, copyfile 'C:\Users\new\Desktop\file\face-demo\node_modules\@tensorflow\tfjs-node\deps\lib\tensorflow.dll' -> 'C:\Users\new\Desktop\file\face-demo\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:\\Users\\new\\Desktop\\file\\face-demo\\node_modules\\@tensorflow\\tfjs-node\\deps\\lib\\tensorflow.dll',
npm ERR!   dest: 'C:\\Users\\new\\Desktop\\file\\face-demo\\node_modules\\@tensorflow\\tfjs-node\\lib\\napi-v9\\tensorflow.dll'
npm ERR! }
npm ERR!
npm ERR! Node.js v18.17.1
npm ERR!
npm ERR!     at ChildProcess.exithandler (node:child_process:419:12)
npm ERR!     at ChildProcess.emit (node:events:514:28)
npm ERR!     at maybeClose (node:internal/child_process:1091:16)
npm ERR!     at ChildProcess._handle.onexit (node:internal/child_process:302: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: C:\Users\new\AppData\Local\npm-cache\_logs\2024-01-10T03_46_08_973Z-debug-0.log
PS C:\Users\new\Desktop\file\face-demo> node -v
v18.17.1
PS C:\Users\new\Desktop\file\face-demo> npm -v
10.2.5
PS C:\Users\new\Desktop\file\face-demo> node-gyp

  Usage: node-gyp <command> [options]

  where <command> is one of:
    - build - Invokes `msbuild` and builds the module
    - clean - Removes any generated build files and the "out" dir
    - configure - Generates MSVC project files for the current module
    - rebuild - Runs "clean", "configure" and "build" all at once
    - install - Install node development files for the specified node version.
    - list - Prints a listing of the currently installed node development files
    - remove - Removes the node development files for the specified version

node-gyp@10.0.1  H:\nvm\v18.17.1\node_modules\node-gyp
node@18.17.1
PS C:\Users\new\Desktop\file\face-demo> npm cache clean -f
npm WARN using --force Recommended protections disabled.
PS C:\Users\new\Desktop\file\face-demo> npm install @tensorflow/tfjs-node
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup   [
npm WARN cleanup     'C:\\Users\\new\\Desktop\\file\\face-demo\\node_modules',
npm WARN cleanup     [Error: EPERM: operation not permitted, rmdir 'C:\Users\new\Desktop\file\face-demo\node_modules\@tensorflow\tfjs-layers\dist\layers'] {
npm WARN cleanup       errno: -4048,
npm WARN cleanup       code: 'EPERM',
npm WARN cleanup       syscall: 'rmdir',
npm WARN cleanup       path: 'C:\\Users\\new\\Desktop\\file\\face-demo\\node_modules\\@tensorflow\\tfjs-layers\\dist\\layers'
npm WARN cleanup     }
npm WARN cleanup   ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\new\Desktop\file\face-demo\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-4.15.0.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:288
npm ERR!             triggerUncaughtException(err, true /* fromPromise */);
npm ERR!             ^
npm ERR!
npm ERR! [Error: ENOENT: no such file or directory, copyfile 'C:\Users\new\Desktop\file\face-demo\node_modules\@tensorflow\tfjs-node\deps\lib\tensorflow.dll' -> 'C:\Users\new\Desktop\file\face-demo\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:\\Users\\new\\Desktop\\file\\face-demo\\node_modules\\@tensorflow\\tfjs-node\\deps\\lib\\tensorflow.dll',
npm ERR!   dest: 'C:\\Users\\new\\Desktop\\file\\face-demo\\node_modules\\@tensorflow\\tfjs-node\\lib\\napi-v9\\tensorflow.dll'
npm ERR! }
npm ERR!
npm ERR! Node.js v18.17.1
npm ERR!
npm ERR!     at ChildProcess.exithandler (node:child_process:419:12)
npm ERR!     at ChildProcess.emit (node:events:514:28)
npm ERR!     at maybeClose (node:internal/child_process:1091:16)
npm ERR!     at ChildProcess._handle.onexit (node:internal/child_process:302: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: C:\Users\new\AppData\Local\npm-cache\_logs\2024-01-10T03_49_58_367Z-debug-0.log
gaikwadrahul8 commented 10 months ago

Hi, @Dawn-lsl

I see you're trying with Node.js v18.17.1 and Python 3.12 version, I would suggest you to please give it try with either Node.js v19.9.0 or Node.js v18.16.1 with Python version 3.8, 3.9, 3.10 or 3.11 not with Python 3.12 and it should work.

If issue still persists please let us know by creating new issue with new error log to investigate this issue further. Thank you for your cooperation and patience.

Dawn-lsl commented 10 months ago

Hi,@gaikwadrahul8 I followed your suggestion and used node v18.16.1, pyhton 3.9.13, node-gyp 10.0.1, npm 9.5.1 and execute workaround and suggestion. It runs successfully and also works when I just execute npm install @tensorflow/tfjs-node. They successfully installed the latest version 4.16.0 of tfjs-node

gaikwadrahul8 commented 10 months ago

Hi, @Dawn-lsl

Good to hear that your issue got resolved, even I tested from my end things are working fine with Node.js v19.9.0 or Node.js v18.16.1 with Python version 3.8, 3.9, 3.10 or 3.11 and as far I know currently latest version of tensorflow 2.15.0 does not support Python 3.12 so Tensorflow.jswill not support at the moment may be in next stable release of Tensorflow 2.16 will support Python 3.12

Hi, @YaserFazil , I completely understand you're looking support of the latest version of Node.js versions for tfjs-node and I see you're already following tfjs-node installation issue on windows system (main issue thread) so please refer that issue for future update and now I'm closing this issue from my end because tfjs-node installation working as expected with Node.js v19.9.0 or Node.js v18.16.1 versions. Myself and @Dawn-lsl also confirmed it's working as expected.

Thank you for your cooperation and patience.

google-ml-butler[bot] commented 10 months ago

Are you satisfied with the resolution of your issue? Yes No