infinitered / nsfwjs

NSFW detection on the client-side via TensorFlow.js
https://nsfwjs.com/
MIT License
8.09k stars 545 forks source link

Unable to install NSFWJS with NodeJS app (tfjs-node error) #581

Open Blabla5943 opened 2 years ago

Blabla5943 commented 2 years ago

Hello,

I'm trying to create an API to detect NSFW images. Therefore, I'm trying to install NSFWJS with NodeJS. Therefore, I follow the tutorial present at this URL: https://github.com/infinitered/nsfwjs#node-js-app

I use Debian 11.2.

I install NSFWJS with command line: npm install nsfwjs No problem! Perfect!

But, when I try to install tfjs-node, with this command line: npm install @tensorflow/tfjs-node I have this error:

root@nsXXXXXX:~/nsfwjs# npm install @tensorflow/tfjs-node
npm ERR! code 1
npm ERR! path /root/nsfwjs/node_modules/@tensorflow/tfjs-node
npm ERR! command failed
npm ERR! command sh -c node scripts/install.js
npm ERR! CPU-linux-3.13.0.tar.gz
npm ERR! https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.7.0.tar.gz
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.4
npm ERR! node-pre-gyp info using node@12.22.5 | linux | x64
npm ERR! node-pre-gyp info check checked for "/root/nsfwjs/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/3.13.0/CPU-linux-3.13.0.tar.gz
npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/3.13.0/CPU-linux-3.13.0.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @tensorflow/tfjs-node@3.13.0 and node@12.22.5 (node-v72 ABI, glibc) (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/3.13.0/CPU-linux-3.13.0.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@12.22.5 | linux | x64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@12.22.5 | linux | x64
npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/usr/lib/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   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/root/nsfwjs/node_modules/@tensorflow/tfjs-node/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/root/.cache/node-gyp/12.22.5/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=/root/.cache/node-gyp/12.22.5',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/12.22.5/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/root/nsfwjs/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   '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@8.4.1
npm ERR! gyp info using node@12.22.5 | linux | x64
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: not found: make
npm ERR! gyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:10:17)
npm ERR! gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:57:18
npm ERR! gyp ERR! stack     at new Promise (<anonymous>)
npm ERR! gyp ERR! stack     at step (/usr/lib/node_modules/npm/node_modules/which/which.js:54:21)
npm ERR! gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:71:22
npm ERR! gyp ERR! stack     at new Promise (<anonymous>)
npm ERR! gyp ERR! stack     at subStep (/usr/lib/node_modules/npm/node_modules/which/which.js:69:33)
npm ERR! gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:80:22
npm ERR! gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
npm ERR! gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
npm ERR! gyp ERR! System Linux 4.19.0-18-amd64
npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/root/nsfwjs/node_modules/@tensorflow/tfjs-node/lib/napi-v8/tfjs_binding.node" "--module_name=tfjs_binding" "--module_path=/root/nsfwjs/node_modules/@tensorflow/tfjs-node/lib/napi-v8" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=8" "--node_napi_label=napi-v8"
npm ERR! gyp ERR! cwd /root/nsfwjs/node_modules/@tensorflow/tfjs-node
npm ERR! gyp ERR! node -v v12.22.5
npm ERR! gyp ERR! node-gyp -v v8.4.1
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 '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/nsfwjs/node_modules/@tensorflow/tfjs-node/lib/napi-v8/tfjs_binding.node --module_name=tfjs_binding --module_path=/root/nsfwjs/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)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/root/nsfwjs/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
npm ERR! node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)
npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
npm ERR! node-pre-gyp ERR! System Linux 4.19.0-18-amd64
npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/root/nsfwjs/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /root/nsfwjs/node_modules/@tensorflow/tfjs-node
npm ERR! node-pre-gyp ERR! node -v v12.22.5
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.4
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:
npm ERR!     /root/.npm/_logs/2022-02-22T09_27_30_222Z-debug-0.log

The content of /root/.npm/_logs/2022-02-22T09_27_30_222Z-debug-0.log file is:

0 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '@tensorflow/tfjs-node' ]
1 info using npm@8.5.0
2 info using node@v12.22.5
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/root/nsfwjs/.npmrc Completed in 0ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:/root/.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:/usr/etc/npmrc Completed in 1ms
14 timing config:load:global Completed in 1ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 10ms
19 timing npm:load:configload Completed in 10ms
20 timing npm:load:setTitle Completed in 1ms
21 timing config:load:flatten Completed in 4ms
22 timing npm:load:display Completed in 6ms
23 verbose logfile /root/.npm/_logs/2022-02-22T09_27_30_222Z-debug-0.log
24 timing npm:load:logFile Completed in 6ms
25 timing npm:load:timers Completed in 0ms
26 timing npm:load:configScope Completed in 0ms
27 timing npm:load Completed in 24ms
28 timing arborist:ctor Completed in 1ms
29 silly logfile start cleaning logs, removing 1 files
30 timing idealTree:init Completed in 127ms
31 timing idealTree:userRequests Completed in 2ms
32 silly idealTree buildDeps
33 silly fetch manifest @tensorflow/tfjs-node@*
34 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
35 http fetch GET 200 https://registry.npmjs.org/@tensorflow%2ftfjs-node 1722ms (cache revalidated)
36 silly placeDep ROOT @tensorflow/tfjs-node@3.13.0 OK for:  want: *
37 silly fetch manifest @mapbox/node-pre-gyp@1.0.4
38 silly fetch manifest adm-zip@^0.5.2
39 silly fetch manifest google-protobuf@^3.9.2
40 silly fetch manifest https-proxy-agent@^2.2.1
41 silly fetch manifest progress@^2.0.0
42 silly fetch manifest rimraf@^2.6.2
43 silly fetch manifest tar@^4.4.6
44 http fetch GET 200 https://registry.npmjs.org/@mapbox%2fnode-pre-gyp 177ms (cache revalidated)
45 http fetch GET 200 https://registry.npmjs.org/rimraf 177ms (cache revalidated)
46 http fetch GET 200 https://registry.npmjs.org/adm-zip 185ms (cache revalidated)
47 http fetch GET 200 https://registry.npmjs.org/progress 190ms (cache revalidated)
48 http fetch GET 200 https://registry.npmjs.org/https-proxy-agent 191ms (cache revalidated)
49 http fetch GET 200 https://registry.npmjs.org/tar 190ms (cache revalidated)
50 http fetch GET 200 https://registry.npmjs.org/google-protobuf 265ms (cache revalidated)
51 timing idealTree:#root Completed in 2005ms
52 silly placeDep ROOT @mapbox/node-pre-gyp@1.0.4 OK for: @tensorflow/tfjs-node@3.13.0 want: 1.0.4
53 silly placeDep ROOT adm-zip@0.5.9 OK for: @tensorflow/tfjs-node@3.13.0 want: ^0.5.2
54 silly placeDep ROOT google-protobuf@3.19.4 OK for: @tensorflow/tfjs-node@3.13.0 want: ^3.9.2
55 silly placeDep ROOT https-proxy-agent@2.2.4 OK for: @tensorflow/tfjs-node@3.13.0 want: ^2.2.1
56 silly placeDep ROOT progress@2.0.3 OK for: @tensorflow/tfjs-node@3.13.0 want: ^2.0.0
57 silly placeDep ROOT rimraf@2.7.1 OK for: @tensorflow/tfjs-node@3.13.0 want: ^2.6.2
58 silly placeDep ROOT tar@4.4.19 OK for: @tensorflow/tfjs-node@3.13.0 want: ^4.4.6
59 silly fetch manifest detect-libc@^1.0.3
60 silly fetch manifest https-proxy-agent@^5.0.0
61 silly fetch manifest make-dir@^3.1.0
62 silly fetch manifest nopt@^5.0.0
63 silly fetch manifest npmlog@^4.1.2
64 silly fetch manifest rimraf@^3.0.2
65 silly fetch manifest semver@^7.3.4
66 silly fetch manifest tar@^6.1.0
67 silly fetch manifest agent-base@^4.3.0
68 silly fetch manifest debug@^3.1.0
69 silly fetch manifest glob@^7.1.3
70 silly fetch manifest chownr@^1.1.4
71 silly fetch manifest fs-minipass@^1.2.7
72 silly fetch manifest minipass@^2.9.0
73 silly fetch manifest minizlib@^1.3.3
74 silly fetch manifest mkdirp@^0.5.5
75 silly fetch manifest yallist@^3.1.1
76 http fetch GET 200 https://registry.npmjs.org/npmlog 169ms (cache revalidated)
77 http fetch GET 200 https://registry.npmjs.org/detect-libc 175ms (cache revalidated)
78 http fetch GET 200 https://registry.npmjs.org/glob 168ms (cache revalidated)
79 http fetch GET 200 https://registry.npmjs.org/make-dir 179ms (cache revalidated)
80 http fetch GET 200 https://registry.npmjs.org/debug 173ms (cache revalidated)
81 http fetch GET 200 https://registry.npmjs.org/agent-base 178ms (cache revalidated)
82 http fetch GET 200 https://registry.npmjs.org/semver 181ms (cache revalidated)
83 http fetch GET 200 https://registry.npmjs.org/nopt 195ms (cache revalidated)
84 http fetch GET 200 https://registry.npmjs.org/fs-minipass 189ms (cache revalidated)
85 http fetch GET 200 https://registry.npmjs.org/minipass 190ms (cache revalidated)
86 http fetch GET 200 https://registry.npmjs.org/mkdirp 191ms (cache revalidated)
87 http fetch GET 200 https://registry.npmjs.org/yallist 191ms (cache revalidated)
88 http fetch GET 200 https://registry.npmjs.org/chownr 203ms (cache revalidated)
89 http fetch GET 200 https://registry.npmjs.org/minizlib 207ms (cache revalidated)
90 timing idealTree:node_modules/@tensorflow/tfjs-node Completed in 242ms
91 silly placeDep ROOT detect-libc@1.0.3 OK for: @mapbox/node-pre-gyp@1.0.4 want: ^1.0.3
92 silly placeDep node_modules/@mapbox/node-pre-gyp https-proxy-agent@5.0.0 OK for: @mapbox/node-pre-gyp@1.0.4 want: ^5.0.0
93 silly placeDep ROOT make-dir@3.1.0 OK for: @mapbox/node-pre-gyp@1.0.4 want: ^3.1.0
94 silly placeDep ROOT nopt@5.0.0 OK for: @mapbox/node-pre-gyp@1.0.4 want: ^5.0.0
95 silly placeDep ROOT npmlog@4.1.2 OK for: @mapbox/node-pre-gyp@1.0.4 want: ^4.1.2
96 silly placeDep node_modules/@mapbox/node-pre-gyp rimraf@3.0.2 OK for: @mapbox/node-pre-gyp@1.0.4 want: ^3.0.2
97 silly placeDep ROOT semver@7.3.5 OK for: @mapbox/node-pre-gyp@1.0.4 want: ^7.3.4
98 silly placeDep node_modules/@mapbox/node-pre-gyp tar@6.1.11 OK for: @mapbox/node-pre-gyp@1.0.4 want: ^6.1.0
99 silly fetch manifest agent-base@6
100 silly fetch manifest debug@4
101 silly fetch manifest semver@^6.0.0
102 silly fetch manifest abbrev@1
103 silly fetch manifest are-we-there-yet@~1.1.2
104 silly fetch manifest console-control-strings@~1.1.0
105 silly fetch manifest gauge@~2.7.3
106 silly fetch manifest set-blocking@~2.0.0
107 silly fetch manifest lru-cache@^6.0.0
108 silly fetch manifest chownr@^2.0.0
109 silly fetch manifest fs-minipass@^2.0.0
110 silly fetch manifest minipass@^3.0.0
111 silly fetch manifest minizlib@^2.1.1
112 silly fetch manifest mkdirp@^1.0.3
113 silly fetch manifest yallist@^4.0.0
114 http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 43ms (cache revalidated)
115 http fetch GET 200 https://registry.npmjs.org/gauge 53ms (cache revalidated)
116 http fetch GET 200 https://registry.npmjs.org/console-control-strings 57ms (cache revalidated)
117 http fetch GET 200 https://registry.npmjs.org/abbrev 60ms (cache revalidated)
118 http fetch GET 200 https://registry.npmjs.org/set-blocking 59ms (cache revalidated)
119 http fetch GET 200 https://registry.npmjs.org/lru-cache 62ms (cache revalidated)
120 timing idealTree:node_modules/@mapbox/node-pre-gyp Completed in 86ms
121 timing idealTree:node_modules/adm-zip Completed in 0ms
122 timing idealTree:node_modules/detect-libc Completed in 0ms
123 timing idealTree:node_modules/google-protobuf Completed in 0ms
124 silly placeDep ROOT agent-base@4.3.0 OK for: https-proxy-agent@2.2.4 want: ^4.3.0
125 silly placeDep ROOT debug@3.2.7 OK for: https-proxy-agent@2.2.4 want: ^3.1.0
126 silly fetch manifest es6-promisify@^5.0.0
127 silly fetch manifest ms@^2.1.1
128 http fetch GET 200 https://registry.npmjs.org/es6-promisify 48ms (cache revalidated)
129 http fetch GET 200 https://registry.npmjs.org/ms 46ms (cache revalidated)
130 timing idealTree:node_modules/https-proxy-agent Completed in 56ms
131 silly placeDep ROOT es6-promisify@5.0.0 OK for: agent-base@4.3.0 want: ^5.0.0
132 silly fetch manifest es6-promise@^4.0.3
133 http fetch GET 200 https://registry.npmjs.org/es6-promise 33ms (cache revalidated)
134 timing idealTree:node_modules/agent-base Completed in 38ms
135 silly placeDep ROOT ms@2.1.3 OK for: debug@3.2.7 want: ^2.1.1
136 timing idealTree:node_modules/debug Completed in 3ms
137 silly placeDep ROOT es6-promise@4.2.8 OK for: es6-promisify@5.0.0 want: ^4.0.3
138 timing idealTree:node_modules/es6-promisify Completed in 1ms
139 timing idealTree:node_modules/es6-promise Completed in 0ms
140 silly placeDep node_modules/make-dir semver@6.3.0 OK for: make-dir@3.1.0 want: ^6.0.0
141 timing idealTree:node_modules/make-dir Completed in 2ms
142 timing idealTree:node_modules/ms Completed in 0ms
143 silly placeDep ROOT abbrev@1.1.1 OK for: nopt@5.0.0 want: 1
144 timing idealTree:node_modules/nopt Completed in 1ms
145 timing idealTree:node_modules/abbrev Completed in 0ms
146 silly placeDep ROOT are-we-there-yet@1.1.7 OK for: npmlog@4.1.2 want: ~1.1.2
147 silly placeDep ROOT console-control-strings@1.1.0 OK for: npmlog@4.1.2 want: ~1.1.0
148 silly placeDep ROOT gauge@2.7.4 OK for: npmlog@4.1.2 want: ~2.7.3
149 silly placeDep ROOT set-blocking@2.0.0 OK for: npmlog@4.1.2 want: ~2.0.0
150 silly fetch manifest delegates@^1.0.0
151 silly fetch manifest readable-stream@^2.0.6
152 silly fetch manifest aproba@^1.0.3
153 silly fetch manifest has-unicode@^2.0.0
154 silly fetch manifest object-assign@^4.1.0
155 silly fetch manifest signal-exit@^3.0.0
156 silly fetch manifest string-width@^1.0.1
157 silly fetch manifest strip-ansi@^3.0.1
158 silly fetch manifest wide-align@^1.1.0
159 http fetch GET 200 https://registry.npmjs.org/aproba 43ms (cache revalidated)
160 http fetch GET 200 https://registry.npmjs.org/delegates 46ms (cache revalidated)
161 http fetch GET 200 https://registry.npmjs.org/strip-ansi 66ms (cache revalidated)
162 http fetch GET 200 https://registry.npmjs.org/wide-align 73ms (cache revalidated)
163 http fetch GET 200 https://registry.npmjs.org/object-assign 77ms (cache revalidated)
164 http fetch GET 200 https://registry.npmjs.org/has-unicode 79ms (cache revalidated)
165 http fetch GET 200 https://registry.npmjs.org/readable-stream 82ms (cache revalidated)
166 http fetch GET 200 https://registry.npmjs.org/signal-exit 82ms (cache revalidated)
167 http fetch GET 200 https://registry.npmjs.org/string-width 82ms (cache revalidated)
168 timing idealTree:node_modules/npmlog Completed in 96ms
169 silly placeDep ROOT delegates@1.0.0 OK for: are-we-there-yet@1.1.7 want: ^1.0.0
170 silly placeDep node_modules/are-we-there-yet readable-stream@2.3.7 OK for: are-we-there-yet@1.1.7 want: ^2.0.6
171 silly fetch manifest isarray@~1.0.0
172 silly fetch manifest process-nextick-args@~2.0.0
173 silly fetch manifest safe-buffer@~5.1.1
174 silly fetch manifest string_decoder@~1.1.1
175 silly fetch manifest util-deprecate@~1.0.1
176 http fetch GET 200 https://registry.npmjs.org/isarray 34ms (cache revalidated)
177 http fetch GET 200 https://registry.npmjs.org/string_decoder 41ms (cache revalidated)
178 http fetch GET 200 https://registry.npmjs.org/process-nextick-args 43ms (cache revalidated)
179 http fetch GET 200 https://registry.npmjs.org/util-deprecate 43ms (cache revalidated)
180 http fetch GET 200 https://registry.npmjs.org/safe-buffer 58ms (cache revalidated)
181 timing idealTree:node_modules/are-we-there-yet Completed in 65ms
182 timing idealTree:node_modules/console-control-strings Completed in 0ms
183 timing idealTree:node_modules/delegates Completed in 0ms
184 silly placeDep ROOT aproba@1.2.0 OK for: gauge@2.7.4 want: ^1.0.3
185 silly placeDep ROOT has-unicode@2.0.1 OK for: gauge@2.7.4 want: ^2.0.0
186 silly placeDep ROOT object-assign@4.1.1 OK for: gauge@2.7.4 want: ^4.1.0
187 silly placeDep ROOT signal-exit@3.0.7 OK for: gauge@2.7.4 want: ^3.0.0
188 silly placeDep node_modules/gauge string-width@1.0.2 OK for: gauge@2.7.4 want: ^1.0.1
189 silly placeDep node_modules/gauge strip-ansi@3.0.1 OK for: gauge@2.7.4 want: ^3.0.1
190 silly placeDep ROOT wide-align@1.1.5 OK for: gauge@2.7.4 want: ^1.1.0
191 silly fetch manifest code-point-at@^1.0.0
192 silly fetch manifest is-fullwidth-code-point@^1.0.0
193 silly fetch manifest ansi-regex@^2.0.0
194 http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 38ms (cache revalidated)
195 http fetch GET 200 https://registry.npmjs.org/code-point-at 45ms (cache revalidated)
196 http fetch GET 200 https://registry.npmjs.org/ansi-regex 48ms (cache revalidated)
197 timing idealTree:node_modules/gauge Completed in 63ms
198 timing idealTree:node_modules/aproba Completed in 0ms
199 timing idealTree:node_modules/has-unicode Completed in 0ms
200 timing idealTree:node_modules/object-assign Completed in 0ms
201 timing idealTree:node_modules/progress Completed in 0ms
202 silly placeDep ROOT glob@7.2.0 OK for: rimraf@2.7.1 want: ^7.1.3
203 silly fetch manifest fs.realpath@^1.0.0
204 silly fetch manifest inflight@^1.0.4
205 silly fetch manifest minimatch@^3.0.4
206 silly fetch manifest once@^1.3.0
207 silly fetch manifest path-is-absolute@^1.0.0
208 http fetch GET 200 https://registry.npmjs.org/fs.realpath 41ms (cache revalidated)
209 http fetch GET 200 https://registry.npmjs.org/once 41ms (cache revalidated)
210 http fetch GET 200 https://registry.npmjs.org/inflight 46ms (cache revalidated)
211 http fetch GET 200 https://registry.npmjs.org/minimatch 50ms (cache revalidated)
212 http fetch GET 200 https://registry.npmjs.org/path-is-absolute 52ms (cache revalidated)
213 timing idealTree:node_modules/rimraf Completed in 60ms
214 silly placeDep ROOT fs.realpath@1.0.0 OK for: glob@7.2.0 want: ^1.0.0
215 silly placeDep ROOT inflight@1.0.6 OK for: glob@7.2.0 want: ^1.0.4
216 silly placeDep ROOT minimatch@3.1.2 OK for: glob@7.2.0 want: ^3.0.4
217 silly placeDep ROOT once@1.4.0 OK for: glob@7.2.0 want: ^1.3.0
218 silly placeDep ROOT path-is-absolute@1.0.1 OK for: glob@7.2.0 want: ^1.0.0
219 silly fetch manifest wrappy@1
220 silly fetch manifest brace-expansion@^1.1.7
221 http fetch GET 200 https://registry.npmjs.org/brace-expansion 28ms (cache revalidated)
222 http fetch GET 200 https://registry.npmjs.org/wrappy 40ms (cache revalidated)
223 timing idealTree:node_modules/glob Completed in 52ms
224 timing idealTree:node_modules/fs.realpath Completed in 0ms
225 silly placeDep ROOT wrappy@1.0.2 OK for: inflight@1.0.6 want: 1
226 timing idealTree:node_modules/inflight Completed in 2ms
227 silly placeDep ROOT brace-expansion@1.1.11 OK for: minimatch@3.1.2 want: ^1.1.7
228 silly fetch manifest balanced-match@^1.0.0
229 silly fetch manifest concat-map@0.0.1
230 http fetch GET 200 https://registry.npmjs.org/balanced-match 32ms (cache revalidated)
231 http fetch GET 200 https://registry.npmjs.org/concat-map 42ms (cache revalidated)
232 timing idealTree:node_modules/minimatch Completed in 47ms
233 silly placeDep ROOT balanced-match@1.0.2 OK for: brace-expansion@1.1.11 want: ^1.0.0
234 silly placeDep ROOT concat-map@0.0.1 OK for: brace-expansion@1.1.11 want: 0.0.1
235 timing idealTree:node_modules/brace-expansion Completed in 4ms
236 timing idealTree:node_modules/balanced-match Completed in 0ms
237 timing idealTree:node_modules/concat-map Completed in 0ms
238 timing idealTree:node_modules/once Completed in 0ms
239 timing idealTree:node_modules/path-is-absolute Completed in 0ms
240 silly placeDep ROOT lru-cache@6.0.0 OK for: semver@7.3.5 want: ^6.0.0
241 timing idealTree:node_modules/semver Completed in 1ms
242 silly placeDep ROOT yallist@4.0.0 OK for: lru-cache@6.0.0 want: ^4.0.0
243 timing idealTree:node_modules/lru-cache Completed in 1ms
244 timing idealTree:node_modules/set-blocking Completed in 0ms
245 timing idealTree:node_modules/signal-exit Completed in 0ms
246 silly placeDep ROOT chownr@1.1.4 OK for: tar@4.4.19 want: ^1.1.4
247 silly placeDep ROOT fs-minipass@1.2.7 OK for: tar@4.4.19 want: ^1.2.7
248 silly placeDep ROOT minipass@2.9.0 OK for: tar@4.4.19 want: ^2.9.0
249 silly placeDep ROOT minizlib@1.3.3 OK for: tar@4.4.19 want: ^1.3.3
250 silly placeDep ROOT mkdirp@0.5.5 OK for: tar@4.4.19 want: ^0.5.5
251 silly placeDep node_modules/tar yallist@3.1.1 OK for: tar@4.4.19 want: ^3.1.1
252 silly fetch manifest yallist@^3.0.0
253 silly fetch manifest minimist@^1.2.5
254 http fetch GET 200 https://registry.npmjs.org/minimist 40ms (cache revalidated)
255 timing idealTree:node_modules/tar Completed in 55ms
256 timing idealTree:node_modules/chownr Completed in 0ms
257 timing idealTree:node_modules/fs-minipass Completed in 0ms
258 silly placeDep node_modules/minipass yallist@3.1.1 OK for: minipass@2.9.0 want: ^3.0.0
259 timing idealTree:node_modules/minipass Completed in 1ms
260 timing idealTree:node_modules/minizlib Completed in 0ms
261 silly placeDep ROOT minimist@1.2.5 OK for: mkdirp@0.5.5 want: ^1.2.5
262 timing idealTree:node_modules/mkdirp Completed in 1ms
263 timing idealTree:node_modules/minimist Completed in 0ms
264 timing idealTree:node_modules/wide-align Completed in 0ms
265 timing idealTree:node_modules/wrappy Completed in 0ms
266 timing idealTree:node_modules/yallist Completed in 0ms
267 silly placeDep node_modules/@mapbox/node-pre-gyp agent-base@6.0.2 OK for: https-proxy-agent@5.0.0 want: 6
268 silly placeDep node_modules/@mapbox/node-pre-gyp debug@4.3.3 OK for: https-proxy-agent@5.0.0 want: 4
269 silly fetch manifest ms@2.1.2
270 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/https-proxy-agent Completed in 15ms
271 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/agent-base Completed in 0ms
272 silly placeDep node_modules/@mapbox/node-pre-gyp ms@2.1.2 OK for: debug@4.3.3 want: 2.1.2
273 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/debug Completed in 2ms
274 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/ms Completed in 0ms
275 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/rimraf Completed in 0ms
276 silly placeDep node_modules/@mapbox/node-pre-gyp chownr@2.0.0 OK for: tar@6.1.11 want: ^2.0.0
277 silly placeDep node_modules/@mapbox/node-pre-gyp fs-minipass@2.1.0 OK for: tar@6.1.11 want: ^2.0.0
278 silly placeDep node_modules/@mapbox/node-pre-gyp minipass@3.1.6 OK for: tar@6.1.11 want: ^3.0.0
279 silly placeDep node_modules/@mapbox/node-pre-gyp minizlib@2.1.2 OK for: tar@6.1.11 want: ^2.1.1
280 silly placeDep node_modules/@mapbox/node-pre-gyp mkdirp@1.0.4 OK for: tar@6.1.11 want: ^1.0.3
281 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/tar Completed in 9ms
282 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/chownr Completed in 0ms
283 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/fs-minipass Completed in 0ms
284 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/minipass Completed in 0ms
285 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/minizlib Completed in 0ms
286 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/mkdirp Completed in 0ms
287 silly placeDep node_modules/are-we-there-yet isarray@1.0.0 OK for: readable-stream@2.3.7 want: ~1.0.0
288 silly placeDep ROOT process-nextick-args@2.0.1 OK for: readable-stream@2.3.7 want: ~2.0.0
289 silly placeDep node_modules/are-we-there-yet safe-buffer@5.1.2 OK for: readable-stream@2.3.7 want: ~5.1.1
290 silly placeDep node_modules/are-we-there-yet string_decoder@1.1.1 OK for: readable-stream@2.3.7 want: ~1.1.1
291 silly placeDep ROOT util-deprecate@1.0.2 OK for: readable-stream@2.3.7 want: ~1.0.1
292 timing idealTree:node_modules/are-we-there-yet/node_modules/readable-stream Completed in 9ms
293 timing idealTree:node_modules/process-nextick-args Completed in 0ms
294 timing idealTree:node_modules/util-deprecate Completed in 0ms
295 timing idealTree:node_modules/are-we-there-yet/node_modules/isarray Completed in 0ms
296 timing idealTree:node_modules/are-we-there-yet/node_modules/safe-buffer Completed in 0ms
297 timing idealTree:node_modules/are-we-there-yet/node_modules/string_decoder Completed in 0ms
298 silly placeDep ROOT code-point-at@1.1.0 OK for: string-width@1.0.2 want: ^1.0.0
299 silly placeDep node_modules/gauge is-fullwidth-code-point@1.0.0 OK for: string-width@1.0.2 want: ^1.0.0
300 silly fetch manifest number-is-nan@^1.0.0
301 http fetch GET 200 https://registry.npmjs.org/number-is-nan 55ms (cache revalidated)
302 timing idealTree:node_modules/gauge/node_modules/string-width Completed in 62ms
303 timing idealTree:node_modules/code-point-at Completed in 0ms
304 silly placeDep ROOT number-is-nan@1.0.1 OK for: is-fullwidth-code-point@1.0.0 want: ^1.0.0
305 timing idealTree:node_modules/gauge/node_modules/is-fullwidth-code-point Completed in 2ms
306 timing idealTree:node_modules/number-is-nan Completed in 0ms
307 silly placeDep node_modules/gauge ansi-regex@2.1.1 OK for: strip-ansi@3.0.1 want: ^2.0.0
308 timing idealTree:node_modules/gauge/node_modules/strip-ansi Completed in 2ms
309 timing idealTree:node_modules/gauge/node_modules/ansi-regex Completed in 0ms
310 timing idealTree:node_modules/make-dir/node_modules/semver Completed in 0ms
311 timing idealTree:node_modules/minipass/node_modules/yallist Completed in 0ms
312 timing idealTree:node_modules/tar/node_modules/yallist Completed in 0ms
313 timing idealTree:buildDeps Completed in 2999ms
314 timing idealTree:fixDepFlags Completed in 3ms
315 timing idealTree Completed in 3136ms
316 timing reify:loadTrees Completed in 3137ms
317 timing reify:diffTrees Completed in 7ms
318 silly reify moves {}
319 timing reify:retireShallow Completed in 1ms
320 timing reify:createSparse Completed in 19ms
321 timing reify:loadBundles Completed in 0ms
322 silly audit bulk request {
322 silly audit   '@nsfw-filter/gif-frames': [ '1.0.2' ],
322 silly audit   '@nsfw-filter/save-pixels': [ '2.3.4' ],
322 silly audit   '@tensorflow/tfjs': [ '3.13.0' ],
322 silly audit   '@tensorflow/tfjs-backend-cpu': [ '3.13.0' ],
322 silly audit   seedrandom: [ '2.4.3', '2.4.4' ],
322 silly audit   '@tensorflow/tfjs-backend-webgl': [ '3.13.0' ],
322 silly audit   '@tensorflow/tfjs-converter': [ '3.13.0' ],
322 silly audit   '@tensorflow/tfjs-core': [ '3.13.0' ],
322 silly audit   '@tensorflow/tfjs-data': [ '3.13.0' ],
322 silly audit   '@tensorflow/tfjs-layers': [ '3.13.0' ],
322 silly audit   '@types/long': [ '4.0.1' ],
322 silly audit   '@types/node': [ '17.0.19' ],
322 silly audit   '@types/node-fetch': [ '2.6.1' ],
322 silly audit   '@types/offscreencanvas': [ '2019.3.0' ],
322 silly audit   '@types/seedrandom': [ '2.4.27' ],
322 silly audit   '@types/webgl-ext': [ '0.0.30' ],
322 silly audit   '@types/webgl2': [ '0.0.6' ],
322 silly audit   ajv: [ '6.12.6' ],
322 silly audit   'ansi-regex': [ '5.0.1', '2.1.1' ],
322 silly audit   'ansi-styles': [ '4.3.0' ],
322 silly audit   argparse: [ '1.0.10' ],
322 silly audit   asn1: [ '0.2.6' ],
322 silly audit   'assert-plus': [ '1.0.0' ],
322 silly audit   asynckit: [ '0.4.0' ],
322 silly audit   'aws-sign2': [ '0.7.0' ],
322 silly audit   aws4: [ '1.11.0' ],
322 silly audit   'bcrypt-pbkdf': [ '1.0.2' ],
322 silly audit   caseless: [ '0.12.0' ],
322 silly audit   chalk: [ '4.1.2' ],
322 silly audit   cliui: [ '7.0.4' ],
322 silly audit   'color-convert': [ '2.0.1' ],
322 silly audit   'color-name': [ '1.1.4' ],
322 silly audit   'combined-stream': [ '1.0.8' ],
322 silly audit   'core-js': [ '3.21.1' ],
322 silly audit   'core-util-is': [ '1.0.3', '1.0.2' ],
322 silly audit   'cwise-compiler': [ '1.1.3' ],
322 silly audit   dashdash: [ '1.14.1' ],
322 silly audit   'data-uri-to-buffer': [ '0.0.3' ],
322 silly audit   'delayed-stream': [ '1.0.0' ],
322 silly audit   'ecc-jsbn': [ '0.1.2' ],
322 silly audit   'emoji-regex': [ '8.0.0' ],
322 silly audit   escalade: [ '3.1.1' ],
322 silly audit   extend: [ '3.0.2' ],
322 silly audit   extsprintf: [ '1.3.0' ],
322 silly audit   'fast-deep-equal': [ '3.1.3' ],
322 silly audit   'fast-json-stable-stringify': [ '2.1.0' ],
322 silly audit   'forever-agent': [ '0.6.1' ],
322 silly audit   'form-data': [ '3.0.1', '2.3.3' ],
322 silly audit   'get-caller-file': [ '2.0.5' ],
322 silly audit   'get-pixels-frame-info-update': [ '3.3.2' ],
322 silly audit   getpass: [ '0.1.7' ],
322 silly audit   'gif-encoder': [ '0.4.1' ],
322 silly audit   'har-schema': [ '2.0.0' ],
322 silly audit   'har-validator': [ '5.1.5' ],
322 silly audit   'has-flag': [ '4.0.0' ],
322 silly audit   'http-signature': [ '1.2.0' ],
322 silly audit   inherits: [ '2.0.4' ],
322 silly audit   'iota-array': [ '1.0.0' ],
322 silly audit   'is-buffer': [ '1.1.6' ],
322 silly audit   'is-fullwidth-code-point': [ '3.0.0', '1.0.0' ],
322 silly audit   'is-typedarray': [ '1.0.0' ],
322 silly audit   isarray: [ '0.0.1', '1.0.0' ],
322 silly audit   isstream: [ '0.1.2' ],
322 silly audit   'jpeg-js': [ '0.3.7' ],
322 silly audit   jsbn: [ '0.1.1' ],
322 silly audit   'json-schema': [ '0.4.0' ],
322 silly audit   'json-schema-traverse': [ '0.4.1' ],
322 silly audit   'json-stringify-safe': [ '5.0.1' ],
322 silly audit   jsprim: [ '1.4.2' ],
322 silly audit   long: [ '4.0.0' ],
322 silly audit   'mime-db': [ '1.51.0' ],
322 silly audit   'mime-types': [ '2.1.34' ],
322 silly audit   'multi-integer-range': [ '3.0.0' ],
322 silly audit   ndarray: [ '1.0.18' ],
322 silly audit   'ndarray-ops': [ '1.2.2' ],
322 silly audit   'ndarray-pack': [ '1.2.1' ],
322 silly audit   'node-bitmap': [ '0.0.1' ],
322 silly audit   'node-fetch': [ '2.6.7' ],
322 silly audit   nsfwjs: [ '2.4.1' ],
322 silly audit   'oauth-sign': [ '0.9.0' ],
322 silly audit   omggif: [ '1.0.10' ],
322 silly audit   'parse-data-uri': [ '0.2.0' ],
322 silly audit   'performance-now': [ '2.1.0' ],
322 silly audit   pngjs: [ '3.4.0' ],
322 silly audit   'pngjs-nozlib': [ '1.0.0' ],
322 silly audit   psl: [ '1.8.0' ],
322 silly audit   punycode: [ '2.1.1' ],
322 silly audit   qs: [ '6.5.3' ],
322 silly audit   'readable-stream': [ '1.1.14', '2.3.7' ],
322 silly audit   'regenerator-runtime': [ '0.13.9' ],
322 silly audit   request: [ '2.88.2' ],
322 silly audit   'require-directory': [ '2.1.1' ],
322 silly audit   'safe-buffer': [ '5.2.1', '5.1.2' ],
322 silly audit   'safer-buffer': [ '2.1.2' ],
322 silly audit   'sprintf-js': [ '1.0.3' ],
322 silly audit   sshpk: [ '1.17.0' ],
322 silly audit   string_decoder: [ '0.10.31', '1.1.1' ],
322 silly audit   'string-width': [ '4.2.3', '1.0.2' ],
322 silly audit   'strip-ansi': [ '6.0.1', '3.0.1' ],
322 silly audit   'supports-color': [ '7.2.0' ],
322 silly audit   through: [ '2.3.4' ],
322 silly audit   'tough-cookie': [ '2.5.0' ],
322 silly audit   tr46: [ '0.0.3' ],
322 silly audit   'tunnel-agent': [ '0.6.0' ],
322 silly audit   tweetnacl: [ '0.14.5' ],
322 silly audit   uniq: [ '1.0.1' ],
322 silly audit   'uri-js': [ '4.4.1' ],
322 silly audit   uuid: [ '3.4.0' ],
322 silly audit   verror: [ '1.10.0' ],
322 silly audit   'webidl-conversions': [ '3.0.1' ],
322 silly audit   'whatwg-url': [ '5.0.0' ],
322 silly audit   'wrap-ansi': [ '7.0.0' ],
322 silly audit   y18n: [ '5.0.8' ],
322 silly audit   yargs: [ '16.2.0' ],
322 silly audit   'yargs-parser': [ '20.2.9' ],
322 silly audit   '@tensorflow/tfjs-node': [ '3.13.0' ],
322 silly audit   '@mapbox/node-pre-gyp': [ '1.0.4' ],
322 silly audit   'adm-zip': [ '0.5.9' ],
322 silly audit   'google-protobuf': [ '3.19.4' ],
322 silly audit   'https-proxy-agent': [ '2.2.4', '5.0.0' ],
322 silly audit   progress: [ '2.0.3' ],
322 silly audit   rimraf: [ '2.7.1', '3.0.2' ],
322 silly audit   tar: [ '4.4.19', '6.1.11' ],
322 silly audit   'detect-libc': [ '1.0.3' ],
322 silly audit   'make-dir': [ '3.1.0' ],
322 silly audit   nopt: [ '5.0.0' ],
322 silly audit   npmlog: [ '4.1.2' ],
322 silly audit   semver: [ '7.3.5', '6.3.0' ],
322 silly audit   'agent-base': [ '4.3.0', '6.0.2' ],
322 silly audit   debug: [ '3.2.7', '4.3.3' ],
322 silly audit   'es6-promisify': [ '5.0.0' ],
322 silly audit   ms: [ '2.1.3', '2.1.2' ],
322 silly audit   'es6-promise': [ '4.2.8' ],
322 silly audit   abbrev: [ '1.1.1' ],
322 silly audit   'are-we-there-yet': [ '1.1.7' ],
322 silly audit   'console-control-strings': [ '1.1.0' ],
322 silly audit   gauge: [ '2.7.4' ],
322 silly audit   'set-blocking': [ '2.0.0' ],
322 silly audit   delegates: [ '1.0.0' ],
322 silly audit   aproba: [ '1.2.0' ],
322 silly audit   'has-unicode': [ '2.0.1' ],
322 silly audit   'object-assign': [ '4.1.1' ],
322 silly audit   'signal-exit': [ '3.0.7' ],
322 silly audit   'wide-align': [ '1.1.5' ],
322 silly audit   glob: [ '7.2.0' ],
322 silly audit   'fs.realpath': [ '1.0.0' ],
322 silly audit   inflight: [ '1.0.6' ],
322 silly audit   minimatch: [ '3.1.2' ],
322 silly audit   once: [ '1.4.0' ],
322 silly audit   'path-is-absolute': [ '1.0.1' ],
322 silly audit   wrappy: [ '1.0.2' ],
322 silly audit   'brace-expansion': [ '1.1.11' ],
322 silly audit   'balanced-match': [ '1.0.2' ],
322 silly audit   'concat-map': [ '0.0.1' ],
322 silly audit   'lru-cache': [ '6.0.0' ],
322 silly audit   yallist: [ '4.0.0', '3.1.1' ],
322 silly audit   chownr: [ '1.1.4', '2.0.0' ],
322 silly audit   'fs-minipass': [ '1.2.7', '2.1.0' ],
322 silly audit   minipass: [ '2.9.0', '3.1.6' ],
322 silly audit   minizlib: [ '1.3.3', '2.1.2' ],
322 silly audit   mkdirp: [ '0.5.5', '1.0.4' ],
322 silly audit   minimist: [ '1.2.5' ],
322 silly audit   'process-nextick-args': [ '2.0.1' ],
322 silly audit   'util-deprecate': [ '1.0.2' ],
322 silly audit   'code-point-at': [ '1.1.0' ],
322 silly audit   'number-is-nan': [ '1.0.1' ]
322 silly audit }
323 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 258ms
324 timing auditReport:getReport Completed in 264ms
325 silly audit report {
325 silly audit report   'jpeg-js': [
325 silly audit report     {
325 silly audit report       id: 1006089,
325 silly audit report       url: 'https://github.com/advisories/GHSA-w7q9-p3jq-fmhm',
325 silly audit report       title: 'Uncontrolled resource consumption in jpeg-js',
325 silly audit report       severity: 'moderate',
325 silly audit report       vulnerable_versions: '<0.4.0'
325 silly audit report     }
325 silly audit report   ]
325 silly audit report }
326 timing reifyNode:node_modules/code-point-at Completed in 312ms
327 timing reifyNode:node_modules/process-nextick-args Completed in 313ms
328 timing reifyNode:node_modules/number-is-nan Completed in 314ms
329 timing reifyNode:node_modules/fs-minipass Completed in 312ms
330 timing reifyNode:node_modules/wrappy Completed in 312ms
331 timing reifyNode:node_modules/brace-expansion Completed in 313ms
332 timing reifyNode:node_modules/path-is-absolute Completed in 312ms
333 timing reifyNode:node_modules/once Completed in 312ms
334 timing reifyNode:node_modules/inflight Completed in 313ms
335 timing reifyNode:node_modules/chownr Completed in 314ms
336 timing reifyNode:node_modules/wide-align Completed in 313ms
337 timing reifyNode:node_modules/object-assign Completed in 313ms
338 timing reifyNode:node_modules/aproba Completed in 313ms
339 timing reifyNode:node_modules/has-unicode Completed in 313ms
340 timing reifyNode:node_modules/abbrev Completed in 313ms
341 timing reifyNode:node_modules/ms Completed in 313ms
342 timing reifyNode:node_modules/gauge/node_modules/is-fullwidth-code-point Completed in 316ms
343 timing reifyNode:node_modules/gauge/node_modules/ansi-regex Completed in 316ms
344 timing reifyNode:node_modules/gauge/node_modules/strip-ansi Completed in 316ms
345 timing reifyNode:node_modules/gauge/node_modules/string-width Completed in 316ms
346 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/chownr Completed in 314ms
347 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/ms Completed in 315ms
348 timing reifyNode:node_modules/minipass Completed in 320ms
349 timing reifyNode:node_modules/minizlib Completed in 322ms
350 timing reifyNode:node_modules/lru-cache Completed in 321ms
351 timing reifyNode:node_modules/signal-exit Completed in 320ms
352 timing reifyNode:node_modules/set-blocking Completed in 319ms
353 timing reifyNode:node_modules/console-control-strings Completed in 320ms
354 timing reifyNode:node_modules/es6-promisify Completed in 320ms
355 timing reifyNode:node_modules/make-dir Completed in 320ms
356 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/fs-minipass Completed in 320ms
357 timing reifyNode:node_modules/util-deprecate Completed in 327ms
358 timing reifyNode:node_modules/yallist Completed in 326ms
359 timing reifyNode:node_modules/balanced-match Completed in 327ms
360 timing reifyNode:node_modules/fs.realpath Completed in 326ms
361 timing reifyNode:node_modules/rimraf Completed in 325ms
362 timing reifyNode:node_modules/minipass/node_modules/yallist Completed in 329ms
363 timing reifyNode:node_modules/tar/node_modules/yallist Completed in 326ms
364 timing reifyNode:node_modules/mkdirp Completed in 332ms
365 timing reifyNode:node_modules/minimatch Completed in 330ms
366 timing reifyNode:node_modules/npmlog Completed in 328ms
367 timing reifyNode:node_modules/are-we-there-yet/node_modules/string_decoder Completed in 330ms
368 timing reifyNode:node_modules/are-we-there-yet/node_modules/safe-buffer Completed in 331ms
369 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/minizlib Completed in 329ms
370 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/minipass Completed in 330ms
371 timing metavuln:cache:get:security-advisory:jpeg-js:qy0BO/5ZeCG8hNClBlNwoWVAnNbBUUyBKWX3kUIsEJOSwGoNiIRi3019YsTEP7HlYJZH1GZAguTn4Jwkn8UXkQ== Completed in 81ms
372 timing reifyNode:node_modules/are-we-there-yet/node_modules/isarray Completed in 336ms
373 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/rimraf Completed in 333ms
374 timing reifyNode:node_modules/concat-map Completed in 340ms
375 timing reifyNode:node_modules/delegates Completed in 338ms
376 timing reifyNode:node_modules/progress Completed in 337ms
377 timing reifyNode:node_modules/https-proxy-agent Completed in 337ms
378 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/debug Completed in 337ms
379 timing reifyNode:node_modules/are-we-there-yet Completed in 341ms
380 timing reifyNode:node_modules/nopt Completed in 340ms
381 timing reifyNode:node_modules/detect-libc Completed in 340ms
382 timing reifyNode:node_modules/glob Completed in 345ms
383 timing reifyNode:node_modules/debug Completed in 347ms
384 timing reifyNode:node_modules/make-dir/node_modules/semver Completed in 347ms
385 timing reifyNode:node_modules/agent-base Completed in 348ms
386 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/mkdirp Completed in 349ms
387 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/https-proxy-agent Completed in 354ms
388 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/agent-base Completed in 358ms
389 timing reifyNode:node_modules/minimist Completed in 377ms
390 timing reifyNode:node_modules/gauge Completed in 374ms
391 timing reifyNode:node_modules/adm-zip Completed in 376ms
392 timing reifyNode:node_modules/are-we-there-yet/node_modules/readable-stream Completed in 389ms
393 timing reifyNode:node_modules/tar Completed in 391ms
394 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/tar Completed in 394ms
395 timing reifyNode:node_modules/@mapbox/node-pre-gyp Completed in 397ms
396 timing reifyNode:node_modules/es6-promise Completed in 402ms
397 http fetch GET 200 https://registry.npmjs.org/jpeg-js 149ms (cache revalidated)
398 timing metavuln:packument:jpeg-js Completed in 150ms
399 timing metavuln:load:security-advisory:jpeg-js:1006089 Completed in 1ms
400 timing metavuln:calculate:security-advisory:jpeg-js:1006089 Completed in 152ms
401 timing reifyNode:node_modules/semver Completed in 406ms
402 timing metavuln:cache:get:security-advisory:get-pixels-frame-info-update:ySPsR5rb7qJrV4RmHv7kSI5R6295P7YoVpriam/hm5YljHn3hAmObQReMl0e6eUoLA+9CEQbdMSAvT4eudNhHA== Completed in 4ms
403 timing reifyNode:node_modules/google-protobuf Completed in 409ms
404 timing reifyNode:node_modules/@tensorflow/tfjs-node Completed in 528ms
405 timing reify:unpack Completed in 536ms
406 timing reify:unretire Completed in 0ms
407 timing build:queue Completed in 4ms
408 timing build:link:node_modules/@mapbox/node-pre-gyp Completed in 2ms
409 timing build:link:node_modules/detect-libc Completed in 1ms
410 timing build:link:node_modules/mkdirp Completed in 1ms
411 timing build:link:node_modules/nopt Completed in 2ms
412 timing build:link:node_modules/rimraf Completed in 2ms
413 timing build:link:node_modules/semver Completed in 2ms
414 timing build:link:node_modules/@mapbox/node-pre-gyp/node_modules/mkdirp Completed in 4ms
415 timing build:link:node_modules/@mapbox/node-pre-gyp/node_modules/rimraf Completed in 4ms
416 timing build:link:node_modules/make-dir/node_modules/semver Completed in 4ms
417 timing build:link Completed in 5ms
418 info run @tensorflow/tfjs-node@3.13.0 install node_modules/@tensorflow/tfjs-node node scripts/install.js
419 http fetch GET 200 https://registry.npmjs.org/get-pixels-frame-info-update 706ms (cache revalidated)
420 timing metavuln:packument:get-pixels-frame-info-update Completed in 706ms
421 timing metavuln:load:security-advisory:get-pixels-frame-info-update:qy0BO/5ZeCG8hNClBlNwoWVAnNbBUUyBKWX3kUIsEJOSwGoNiIRi3019YsTEP7HlYJZH1GZAguTn4Jwkn8UXkQ== Completed in 0ms
422 timing metavuln:calculate:security-advisory:get-pixels-frame-info-update:qy0BO/5ZeCG8hNClBlNwoWVAnNbBUUyBKWX3kUIsEJOSwGoNiIRi3019YsTEP7HlYJZH1GZAguTn4Jwkn8UXkQ== Completed in 707ms
423 timing metavuln:cache:get:security-advisory:@nsfw-filter/gif-frames:dzw/+VsJrgS9yMMMCSy+GSxTbEH/XVX7+CbZ2xO6okeuKrJzIJO+BiUaiQPDe81ODatfZAWf2MYTmJufrbe+sg== Completed in 3ms
424 http fetch GET 200 https://registry.npmjs.org/@nsfw-filter%2fgif-frames 1483ms (cache revalidated)
425 timing metavuln:packument:@nsfw-filter/gif-frames Completed in 1485ms
426 timing metavuln:load:security-advisory:@nsfw-filter/gif-frames:ySPsR5rb7qJrV4RmHv7kSI5R6295P7YoVpriam/hm5YljHn3hAmObQReMl0e6eUoLA+9CEQbdMSAvT4eudNhHA== Completed in 0ms
427 timing metavuln:calculate:security-advisory:@nsfw-filter/gif-frames:ySPsR5rb7qJrV4RmHv7kSI5R6295P7YoVpriam/hm5YljHn3hAmObQReMl0e6eUoLA+9CEQbdMSAvT4eudNhHA== Completed in 1485ms
428 timing metavuln:cache:get:security-advisory:nsfwjs:c5cUve3JdlgX6A5Cxm1H9YSVw2jy+0vsr1zFPVqaUYwEJ8rc2UZx0OaBGBD5/kqjaNqXS2IIk5uDtaL/uU8QFQ== Completed in 5ms
429 http fetch GET 200 https://registry.npmjs.org/nsfwjs 788ms (cache revalidated)
430 timing metavuln:packument:nsfwjs Completed in 791ms
431 timing metavuln:load:security-advisory:nsfwjs:dzw/+VsJrgS9yMMMCSy+GSxTbEH/XVX7+CbZ2xO6okeuKrJzIJO+BiUaiQPDe81ODatfZAWf2MYTmJufrbe+sg== Completed in 1ms
432 timing metavuln:calculate:security-advisory:nsfwjs:dzw/+VsJrgS9yMMMCSy+GSxTbEH/XVX7+CbZ2xO6okeuKrJzIJO+BiUaiQPDe81ODatfZAWf2MYTmJufrbe+sg== Completed in 792ms
433 timing auditReport:init Completed in 3144ms
434 timing reify:audit Completed in 3409ms
435 info run @tensorflow/tfjs-node@3.13.0 install { code: 1, signal: null }
436 timing reify:rollback:createSparse Completed in 173ms
437 timing reify:rollback:retireShallow Completed in 0ms
438 timing command:install Completed in 10207ms
439 verbose stack Error: command failed
439 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
439 verbose stack     at ChildProcess.emit (events.js:314:20)
439 verbose stack     at maybeClose (internal/child_process.js:1022:16)
439 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
440 verbose pkgid @tensorflow/tfjs-node@3.13.0
441 verbose cwd /root/nsfwjs
442 verbose Linux 4.19.0-18-amd64
443 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "@tensorflow/tfjs-node"
444 verbose node v12.22.5
445 verbose npm  v8.5.0
446 error code 1
447 error path /root/nsfwjs/node_modules/@tensorflow/tfjs-node
448 error command failed
449 error command sh -c node scripts/install.js
450 error CPU-linux-3.13.0.tar.gz
450 error https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.7.0.tar.gz
450 error node-pre-gyp install failed with error: Error: Command failed: node-pre-gyp install --fallback-to-build
450 error node-pre-gyp info it worked if it ends with ok
450 error node-pre-gyp info using node-pre-gyp@1.0.4
450 error node-pre-gyp info using node@12.22.5 | linux | x64
450 error node-pre-gyp info check checked for "/root/nsfwjs/node_modules/@tensorflow/tfjs-node/lib/napi-v8/tfjs_binding.node" (not found)
450 error node-pre-gyp http GET https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/3.13.0/CPU-linux-3.13.0.tar.gz
450 error node-pre-gyp ERR! install response status 404 Not Found on https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/3.13.0/CPU-linux-3.13.0.tar.gz 
450 error node-pre-gyp WARN Pre-built binaries not installable for @tensorflow/tfjs-node@3.13.0 and node@12.22.5 (node-v72 ABI, glibc) (falling back to source compile with node-gyp) 
450 error node-pre-gyp WARN Hit error response status 404 Not Found on https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v8/3.13.0/CPU-linux-3.13.0.tar.gz 
450 error gyp info it worked if it ends with ok
450 error gyp info using node-gyp@8.4.1
450 error gyp info using node@12.22.5 | linux | x64
450 error gyp info ok 
450 error gyp info it worked if it ends with ok
450 error gyp info using node-gyp@8.4.1
450 error gyp info using node@12.22.5 | linux | x64
450 error gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
450 error gyp info spawn /usr/bin/python3
450 error gyp info spawn args [
450 error gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
450 error gyp info spawn args   'binding.gyp',
450 error gyp info spawn args   '-f',
450 error gyp info spawn args   'make',
450 error gyp info spawn args   '-I',
450 error gyp info spawn args   '/root/nsfwjs/node_modules/@tensorflow/tfjs-node/build/config.gypi',
450 error gyp info spawn args   '-I',
450 error gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
450 error gyp info spawn args   '-I',
450 error gyp info spawn args   '/root/.cache/node-gyp/12.22.5/include/node/common.gypi',
450 error gyp info spawn args   '-Dlibrary=shared_library',
450 error gyp info spawn args   '-Dvisibility=default',
450 error gyp info spawn args   '-Dnode_root_dir=/root/.cache/node-gyp/12.22.5',
450 error gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
450 error gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/12.22.5/<(target_arch)/node.lib',
450 error gyp info spawn args   '-Dmodule_root_dir=/root/nsfwjs/node_modules/@tensorflow/tfjs-node',
450 error gyp info spawn args   '-Dnode_engine=v8',
450 error gyp info spawn args   '--depth=.',
450 error gyp info spawn args   '--no-parallel',
450 error gyp info spawn args   '--generator-output',
450 error gyp info spawn args   'build',
450 error gyp info spawn args   '-Goutput_dir=.'
450 error gyp info spawn args ]
450 error gyp info ok 
450 error gyp info it worked if it ends with ok
450 error gyp info using node-gyp@8.4.1
450 error gyp info using node@12.22.5 | linux | x64
450 error gyp ERR! build error 
450 error gyp ERR! stack Error: not found: make
450 error gyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:10:17)
450 error gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:57:18
450 error gyp ERR! stack     at new Promise (<anonymous>)
450 error gyp ERR! stack     at step (/usr/lib/node_modules/npm/node_modules/which/which.js:54:21)
450 error gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:71:22
450 error gyp ERR! stack     at new Promise (<anonymous>)
450 error gyp ERR! stack     at subStep (/usr/lib/node_modules/npm/node_modules/which/which.js:69:33)
450 error gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:80:22
450 error gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
450 error gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
450 error gyp ERR! System Linux 4.19.0-18-amd64
450 error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/root/nsfwjs/node_modules/@tensorflow/tfjs-node/lib/napi-v8/tfjs_binding.node" "--module_name=tfjs_binding" "--module_path=/root/nsfwjs/node_modules/@tensorflow/tfjs-node/lib/napi-v8" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=8" "--node_napi_label=napi-v8"
450 error gyp ERR! cwd /root/nsfwjs/node_modules/@tensorflow/tfjs-node
450 error gyp ERR! node -v v12.22.5
450 error gyp ERR! node-gyp -v v8.4.1
450 error gyp ERR! not ok 
450 error node-pre-gyp ERR! build error 
450 error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/nsfwjs/node_modules/@tensorflow/tfjs-node/lib/napi-v8/tfjs_binding.node --module_name=tfjs_binding --module_path=/root/nsfwjs/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)
450 error node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/root/nsfwjs/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
450 error node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
450 error node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)
450 error node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
450 error node-pre-gyp ERR! System Linux 4.19.0-18-amd64
450 error node-pre-gyp ERR! command "/usr/bin/node" "/root/nsfwjs/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
450 error node-pre-gyp ERR! cwd /root/nsfwjs/node_modules/@tensorflow/tfjs-node
450 error node-pre-gyp ERR! node -v v12.22.5
450 error node-pre-gyp ERR! node-pre-gyp -v v1.0.4
450 error node-pre-gyp ERR! not ok
451 error * Downloading libtensorflow
451 error
451 error * Building TensorFlow Node.js bindings
452 verbose exit 1
453 timing npm Completed in 10484ms
454 verbose unfinished npm timer reify 1645522050492
455 verbose unfinished npm timer reify:build 1645522054220
456 verbose unfinished npm timer build 1645522054221
457 verbose unfinished npm timer build:deps 1645522054221
458 verbose unfinished npm timer build:run:install 1645522054231
459 verbose unfinished npm timer build:run:install:node_modules/@tensorflow/tfjs-node 1645522054232
460 verbose code 1
461 error A complete log of this run can be found in:
461 error     /root/.npm/_logs/2022-02-22T09_27_30_222Z-debug-0.log

Why this error? How fix this?

Thank you!

GantMan commented 2 years ago

It looks like you're having node gyp errors.

Try these: https://spin.atomicobject.com/2019/03/27/node-gyp-windows/ https://blog.logrocket.com/solving-common-issues-node-gyp/

Blabla5943 commented 2 years ago

It looks like you're having node gyp errors.

Try these: https://spin.atomicobject.com/2019/03/27/node-gyp-windows/ https://blog.logrocket.com/solving-common-issues-node-gyp/

Hello! I tried propotitions on: https://blog.logrocket.com/solving-common-issues-node-gyp/ But I have again error. Have you an idea other to resolve this error? The console error is not really explain with precision.