yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.31k stars 1.51k forks source link

Unable to install node-telegram-bot-api - 'has-property-descriptors@^1.0.0' is not in this registry #964

Closed foxtrotdev closed 2 years ago

foxtrotdev commented 2 years ago

I cannot install node-telegram-bot-api due to unreachable has-property-descriptors.

Command to run: npm i node-telegram-bot-api

Result:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://repo.huaweicloud.com/repository/npm/has-property-descriptors
npm ERR! 404 
npm ERR! 404  'has-property-descriptors@^1.0.0' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

More logs:

0 verbose cli [
0 verbose cli   '/usr/local/Cellar/node/17.9.0/bin/node',
0 verbose cli   '/usr/local/bin/npm',
0 verbose cli   'i',
0 verbose cli   'node-telegram-bot-api'
0 verbose cli ]
1 info using npm@8.5.5
2 info using node@v17.9.0
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 2ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/XXXXXX/WebstormProjects/Oculus/.npmrc Completed in 0ms
10 timing config:load:project Completed in 3ms
11 timing config:load:file:/Users/XXXXXX/.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 11ms
19 timing npm:load:configload Completed in 11ms
20 timing npm:load:setTitle Completed in 4ms
21 timing config:load:flatten Completed in 2ms
22 timing npm:load:display Completed in 3ms
23 verbose logfile /Users/XXXXXX/.npm/_logs/2022-04-15T07_10_07_640Z-debug-0.log
24 timing npm:load:logFile Completed in 3ms
25 timing npm:load:timers Completed in 0ms
26 timing npm:load:configScope Completed in 0ms
27 timing npm:load Completed in 22ms
28 timing arborist:ctor Completed in 0ms
29 silly logfile start cleaning logs, removing 1 files
30 timing idealTree:init Completed in 176ms
31 timing idealTree:userRequests Completed in 2ms
32 silly idealTree buildDeps
33 silly fetch manifest node-telegram-bot-api@*
34 timing arborist:ctor Completed in 1ms
35 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/node-telegram-bot-api 143ms (cache hit)
36 silly placeDep ROOT node-telegram-bot-api@0.56.0 OK for: oculus@0.0.0 want: *
37 silly fetch manifest array.prototype.findindex@^2.0.2
38 silly fetch manifest bl@^1.2.3
39 silly fetch manifest bluebird@^3.5.1
40 silly fetch manifest debug@^3.1.0
41 silly fetch manifest eventemitter3@^3.0.0
42 silly fetch manifest file-type@^3.9.0
43 silly fetch manifest mime@^1.6.0
44 silly fetch manifest pump@^2.0.0
45 silly fetch manifest request-promise@^4.2.2
46 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/array.prototype.findindex 16ms (cache hit)
47 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/bl 17ms (cache hit)
48 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/pump 16ms (cache hit)
49 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/bluebird 19ms (cache hit)
50 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/debug 23ms (cache hit)
51 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/request-promise 25ms (cache hit)
52 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/eventemitter3 28ms (cache hit)
53 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/mime 29ms (cache hit)
54 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/file-type 31ms (cache hit)
55 timing idealTree:#root Completed in 186ms
56 silly fetch manifest request@^2.83.0
57 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/request 6ms (cache hit)
58 silly placeDep ROOT array.prototype.findindex@2.2.0 OK for: node-telegram-bot-api@0.56.0 want: ^2.0.2
59 silly placeDep node_modules/node-telegram-bot-api bl@1.2.3 OK for: node-telegram-bot-api@0.56.0 want: ^1.2.3
60 silly placeDep ROOT bluebird@3.7.2 OK for: node-telegram-bot-api@0.56.0 want: ^3.5.1
61 silly placeDep node_modules/node-telegram-bot-api debug@3.2.7 OK for: node-telegram-bot-api@0.56.0 want: ^3.1.0
62 silly placeDep ROOT eventemitter3@3.1.2 OK for: node-telegram-bot-api@0.56.0 want: ^3.0.0
63 silly placeDep ROOT file-type@3.9.0 OK for: node-telegram-bot-api@0.56.0 want: ^3.9.0
64 silly placeDep node_modules/node-telegram-bot-api mime@1.6.0 OK for: node-telegram-bot-api@0.56.0 want: ^1.6.0
65 silly placeDep node_modules/node-telegram-bot-api pump@2.0.1 OK for: node-telegram-bot-api@0.56.0 want: ^2.0.0
66 silly placeDep ROOT request-promise@4.2.6 OK for: node-telegram-bot-api@0.56.0 want: ^4.2.2
67 silly fetch manifest define-properties@^1.1.3
68 silly fetch manifest es-abstract@^1.19.4
69 silly fetch manifest es-shim-unscopables@^1.0.0
70 silly fetch manifest ms@^2.1.1
71 silly fetch manifest request-promise-core@1.1.4
72 silly fetch manifest stealthy-require@^1.1.1
73 silly fetch manifest tough-cookie@^2.3.3
74 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/define-properties 9ms (cache hit)
75 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/es-shim-unscopables 10ms (cache hit)
76 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/request-promise-core 9ms (cache hit)
77 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/ms 10ms (cache hit)
78 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/es-abstract 13ms (cache hit)
79 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/stealthy-require 15ms (cache hit)
80 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/tough-cookie 15ms (cache hit)
81 timing idealTree:node_modules/node-telegram-bot-api Completed in 38ms
82 silly placeDep ROOT define-properties@1.1.4 OK for: array.prototype.findindex@2.2.0 want: ^1.1.3
83 silly placeDep ROOT es-abstract@1.19.5 OK for: array.prototype.findindex@2.2.0 want: ^1.19.4
84 silly placeDep ROOT es-shim-unscopables@1.0.0 OK for: array.prototype.findindex@2.2.0 want: ^1.0.0
85 silly fetch manifest has-property-descriptors@^1.0.0
86 silly fetch manifest object-keys@^1.1.1
87 silly fetch manifest es-to-primitive@^1.2.1
88 silly fetch manifest get-symbol-description@^1.0.0
89 silly fetch manifest internal-slot@^1.0.3
90 silly fetch manifest is-callable@^1.2.4
91 silly fetch manifest is-negative-zero@^2.0.2
92 silly fetch manifest is-shared-array-buffer@^1.0.2
93 silly fetch manifest is-string@^1.0.7
94 silly fetch manifest is-weakref@^1.0.2
95 silly fetch manifest object-inspect@^1.12.0
96 silly fetch manifest object.assign@^4.1.2
97 silly fetch manifest string.prototype.trimend@^1.0.4
98 silly fetch manifest string.prototype.trimstart@^1.0.4
99 silly fetch manifest unbox-primitive@^1.0.1
100 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/es-to-primitive 54ms (cache hit)
101 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/object-keys 56ms (cache hit)
102 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/get-symbol-description 56ms (cache hit)
103 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/is-shared-array-buffer 54ms (cache hit)
104 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/is-negative-zero 56ms (cache hit)
105 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/is-string 55ms (cache hit)
106 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/internal-slot 58ms (cache hit)
107 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/object-inspect 56ms (cache hit)
108 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/is-weakref 58ms (cache hit)
109 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/string.prototype.trimstart 57ms (cache hit)
110 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/object.assign 58ms (cache hit)
111 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/is-callable 61ms (cache hit)
112 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/unbox-primitive 59ms (cache hit)
113 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/string.prototype.trimend 59ms (cache hit)
114 http fetch GET 404 https://repo.huaweicloud.com/repository/npm/has-property-descriptors 1944ms (cache skip)
115 http fetch GET 404 https://repo.huaweicloud.com/repository/npm/has-property-descriptors 105ms (cache skip)
116 timing idealTree:node_modules/array.prototype.findindex Completed in 2055ms
117 timing idealTree:node_modules/bluebird Completed in 0ms
118 silly placeDep node_modules/define-properties has-property-descriptors@ OK for: define-properties@1.1.4 want: ^1.0.0
119 silly placeDep node_modules/define-properties object-keys@1.1.1 OK for: define-properties@1.1.4 want: ^1.1.1
120 timing idealTree:node_modules/define-properties Completed in 3ms
121 silly placeDep ROOT es-to-primitive@1.2.1 OK for: es-abstract@1.19.5 want: ^1.2.1
122 silly placeDep ROOT get-symbol-description@1.0.0 OK for: es-abstract@1.19.5 want: ^1.0.0
123 silly placeDep ROOT internal-slot@1.0.3 OK for: es-abstract@1.19.5 want: ^1.0.3
124 silly placeDep ROOT is-callable@1.2.4 OK for: es-abstract@1.19.5 want: ^1.2.4
125 silly placeDep ROOT is-negative-zero@2.0.2 OK for: es-abstract@1.19.5 want: ^2.0.2
126 silly placeDep ROOT is-shared-array-buffer@1.0.2 OK for: es-abstract@1.19.5 want: ^1.0.2
127 silly placeDep ROOT is-string@1.0.7 OK for: es-abstract@1.19.5 want: ^1.0.7
128 silly placeDep ROOT is-weakref@1.0.2 OK for: es-abstract@1.19.5 want: ^1.0.2
129 silly placeDep ROOT object-inspect@1.12.0 OK for: es-abstract@1.19.5 want: ^1.12.0
130 silly placeDep node_modules/es-abstract object-keys@1.1.1 OK for: es-abstract@1.19.5 want: ^1.1.1
131 silly placeDep ROOT object.assign@4.1.2 OK for: es-abstract@1.19.5 want: ^4.1.2
132 silly placeDep ROOT string.prototype.trimend@1.0.4 OK for: es-abstract@1.19.5 want: ^1.0.4
133 silly placeDep ROOT string.prototype.trimstart@1.0.4 OK for: es-abstract@1.19.5 want: ^1.0.4
134 silly placeDep ROOT unbox-primitive@1.0.1 OK for: es-abstract@1.19.5 want: ^1.0.1
135 silly fetch manifest is-date-object@^1.0.1
136 silly fetch manifest is-symbol@^1.0.2
137 silly fetch manifest side-channel@^1.0.4
138 silly fetch manifest has-bigints@^1.0.1
139 silly fetch manifest which-boxed-primitive@^1.0.2
140 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/which-boxed-primitive 10ms (cache hit)
141 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/has-bigints 10ms (cache hit)
142 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/is-date-object 12ms (cache hit)
143 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/side-channel 12ms (cache hit)
144 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/is-symbol 13ms (cache hit)
145 timing idealTree:node_modules/es-abstract Completed in 27ms
146 timing idealTree:node_modules/es-shim-unscopables Completed in 0ms
147 silly placeDep ROOT is-date-object@1.0.5 OK for: es-to-primitive@1.2.1 want: ^1.0.1
148 silly placeDep ROOT is-symbol@1.0.4 OK for: es-to-primitive@1.2.1 want: ^1.0.2
149 timing idealTree:node_modules/es-to-primitive Completed in 2ms
150 timing idealTree:node_modules/eventemitter3 Completed in 0ms
151 timing idealTree:node_modules/file-type Completed in 0ms
152 timing idealTree:node_modules/get-symbol-description Completed in 0ms
153 silly placeDep ROOT side-channel@1.0.4 OK for: internal-slot@1.0.3 want: ^1.0.4
154 timing idealTree:node_modules/internal-slot Completed in 1ms
155 timing idealTree:node_modules/is-callable Completed in 0ms
156 timing idealTree:node_modules/is-date-object Completed in 0ms
157 timing idealTree:node_modules/is-negative-zero Completed in 0ms
158 timing idealTree:node_modules/is-shared-array-buffer Completed in 0ms
159 timing idealTree:node_modules/is-string Completed in 0ms
160 timing idealTree:node_modules/is-symbol Completed in 0ms
161 timing idealTree:node_modules/is-weakref Completed in 0ms
162 timing idealTree:node_modules/object-inspect Completed in 0ms
163 silly placeDep node_modules/object.assign object-keys@1.1.1 OK for: object.assign@4.1.2 want: ^1.1.1
164 timing idealTree:node_modules/object.assign Completed in 1ms
165 silly fetch manifest request@^2.34
166 silly placeDep ROOT request-promise-core@1.1.4 OK for: request-promise@4.2.6 want: 1.1.4
167 silly placeDep ROOT stealthy-require@1.1.1 OK for: request-promise@4.2.6 want: ^1.1.1
168 silly placeDep node_modules/request-promise tough-cookie@2.5.0 OK for: request-promise@4.2.6 want: ^2.3.3
169 timing idealTree:node_modules/request-promise Completed in 3ms
170 timing idealTree:node_modules/request-promise-core Completed in 0ms
171 timing idealTree:node_modules/side-channel Completed in 0ms
172 timing idealTree:node_modules/stealthy-require Completed in 0ms
173 timing idealTree:node_modules/string.prototype.trimend Completed in 0ms
174 timing idealTree:node_modules/string.prototype.trimstart Completed in 0ms
175 silly placeDep ROOT has-bigints@1.0.1 OK for: unbox-primitive@1.0.1 want: ^1.0.1
176 silly placeDep ROOT which-boxed-primitive@1.0.2 OK for: unbox-primitive@1.0.1 want: ^1.0.2
177 silly fetch manifest is-bigint@^1.0.1
178 silly fetch manifest is-boolean-object@^1.1.0
179 silly fetch manifest is-number-object@^1.0.4
180 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/is-bigint 7ms (cache hit)
181 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/is-boolean-object 7ms (cache hit)
182 http fetch GET 200 https://repo.huaweicloud.com/repository/npm/is-number-object 7ms (cache hit)
183 timing idealTree:node_modules/unbox-primitive Completed in 11ms
184 timing idealTree:node_modules/has-bigints Completed in 0ms
185 silly placeDep ROOT is-bigint@1.0.4 OK for: which-boxed-primitive@1.0.2 want: ^1.0.1
186 silly placeDep ROOT is-boolean-object@1.1.2 OK for: which-boxed-primitive@1.0.2 want: ^1.1.0
187 silly placeDep ROOT is-number-object@1.0.7 OK for: which-boxed-primitive@1.0.2 want: ^1.0.4
188 timing idealTree:node_modules/which-boxed-primitive Completed in 2ms
189 timing idealTree:node_modules/is-bigint Completed in 0ms
190 timing idealTree:node_modules/is-boolean-object Completed in 0ms
191 timing idealTree:node_modules/is-number-object Completed in 0ms
192 timing idealTree:node_modules/define-properties/node_modules/has-property-descriptors Completed in 0ms
193 timing idealTree:node_modules/define-properties/node_modules/object-keys Completed in 0ms
194 timing idealTree:node_modules/es-abstract/node_modules/object-keys Completed in 0ms
195 timing idealTree:node_modules/node-telegram-bot-api/node_modules/bl Completed in 0ms
196 silly placeDep node_modules/node-telegram-bot-api ms@2.1.3 OK for: debug@3.2.7 want: ^2.1.1
197 timing idealTree:node_modules/node-telegram-bot-api/node_modules/debug Completed in 1ms
198 timing idealTree:node_modules/node-telegram-bot-api/node_modules/mime Completed in 0ms
199 timing idealTree:node_modules/node-telegram-bot-api/node_modules/ms Completed in 0ms
200 timing idealTree:node_modules/node-telegram-bot-api/node_modules/pump Completed in 0ms
201 timing idealTree:node_modules/object.assign/node_modules/object-keys Completed in 0ms
202 timing idealTree:node_modules/request-promise/node_modules/tough-cookie Completed in 0ms
203 timing idealTree:buildDeps Completed in 2333ms
204 timing idealTree:fixDepFlags Completed in 5ms
205 timing idealTree Completed in 2516ms
206 timing command:i Completed in 2521ms
207 verbose stack HttpErrorGeneral: 404 Not Found - GET https://repo.huaweicloud.com/repository/npm/has-property-descriptors
207 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js:104:15
207 verbose stack     at processTicksAndRejections (node:internal/process/task_queues:96:5)
207 verbose stack     at async Promise.all (index 0)
207 verbose stack     at async Arborist.[buildDepStep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1066:5)
207 verbose stack     at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:216:7)
207 verbose stack     at async Promise.all (index 1)
207 verbose stack     at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:5)
207 verbose stack     at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:159:5)
207 verbose stack     at async module.exports (/usr/local/lib/node_modules/npm/lib/cli.js:66:5)
208 verbose statusCode 404
209 verbose pkgid has-property-descriptors@^1.0.0
210 verbose cwd /Users/XXXXXX/WebstormProjects/Oculus
211 verbose Darwin 21.4.0
212 verbose argv "/usr/local/Cellar/node/17.9.0/bin/node" "/usr/local/bin/npm" "i" "node-telegram-bot-api"
213 verbose node v17.9.0
214 verbose npm  v8.5.5
215 error code E404
216 error 404 Not Found - GET https://repo.huaweicloud.com/repository/npm/has-property-descriptors
217 error 404
218 error 404  'has-property-descriptors@^1.0.0' is not in this registry.
219 error 404
219 error 404 Note that you can also install from a
220 error 404 tarball, folder, http url, or git url.
221 verbose exit 1
222 timing npm Completed in 2664ms
223 verbose unfinished npm timer reify 1650006607780
224 verbose unfinished npm timer reify:loadTrees 1650006607783
225 verbose code 1
226 error A complete log of this run can be found in:
226 error     /Users/XXXXXX/.npm/_logs/2022-04-15T07_10_07_640Z-debug-0.log
foxtrotdev commented 2 years ago

It's working now 👍