reactjs / react-codemod

React codemod scripts
MIT License
4.15k stars 284 forks source link

rename-unsafe-lifecycles throws error "404 Not Found - GET https://registry.npmjs.org/@nodelib%2ffs.stat - Not found" #269

Closed ghost closed 3 years ago

ghost commented 3 years ago

I'm using npx react-codemod rename-unsafe-lifecycles src to rename unsafe methods in a react project but it throws an error:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@nodelib%2ffs.stat - Not found
npm ERR! 404 
npm ERR! 404  '@nodelib/fs.stat@^2.0.2' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'fast-glob'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/justin/.npm/_logs/2020-08-06T09_44_07_064Z-debug.log
Install for [ 'react-codemod@latest' ] failed with code 1

Here's the log:

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/Users/justin/.nvm/versions/node/v12.16.3/bin/node',
1 verbose cli   '/Users/justin/.nvm/versions/node/v12.16.3/lib/node_modules/npm/bin/npm-cli.js',
1 verbose cli   'install',
1 verbose cli   'react-codemod@latest',
1 verbose cli   '--global',
1 verbose cli   '--prefix',
1 verbose cli   '/Users/justin/.npm/_npx/5161',
1 verbose cli   '--loglevel',
1 verbose cli   'error',
1 verbose cli   '--json'
1 verbose cli ]
2 info using npm@6.14.4
3 info using node@v12.16.3
4 verbose npm-session 542a2d582f16dab2
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 304 https://registry.npmjs.org/react-codemod 2637ms (from cache)
8 silly pacote tag manifest for react-codemod@latest fetched in 2645ms
9 timing stage:loadCurrentTree Completed in 2653ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule react-codemod@5.2.2 checking installable status
17 http fetch GET 200 https://registry.npmjs.org/chalk 30ms (from cache)
18 silly pacote range manifest for chalk@^2.4.2 fetched in 32ms
19 silly resolveWithNewModule chalk@2.4.2 checking installable status
20 http fetch GET 304 https://registry.npmjs.org/execa 104ms (from cache)
21 silly pacote range manifest for execa@^3.2.0 fetched in 106ms
22 silly resolveWithNewModule execa@3.4.0 checking installable status
23 http fetch GET 304 https://registry.npmjs.org/globby 250ms (from cache)
24 http fetch GET 304 https://registry.npmjs.org/jscodeshift 247ms (from cache)
25 http fetch GET 304 https://registry.npmjs.org/inquirer 252ms (from cache)
26 http fetch GET 304 https://registry.npmjs.org/meow 249ms (from cache)
27 silly pacote range manifest for globby@^10.0.1 fetched in 258ms
28 silly resolveWithNewModule globby@10.0.2 checking installable status
29 silly pacote range manifest for jscodeshift@^0.6.4 fetched in 254ms
30 silly resolveWithNewModule jscodeshift@0.6.4 checking installable status
31 silly pacote range manifest for inquirer@^7.0.0 fetched in 259ms
32 silly resolveWithNewModule inquirer@7.3.3 checking installable status
33 silly pacote range manifest for meow@^5.0.0 fetched in 254ms
34 silly resolveWithNewModule meow@5.0.0 checking installable status
35 http fetch GET 304 https://registry.npmjs.org/eslint 264ms (from cache)
36 silly pacote range manifest for eslint@^6.6.0 fetched in 272ms
37 silly resolveWithNewModule eslint@6.8.0 checking installable status
38 http fetch GET 304 https://registry.npmjs.org/is-git-clean 285ms (from cache)
39 silly pacote range manifest for is-git-clean@^1.1.0 fetched in 286ms
40 silly resolveWithNewModule is-git-clean@1.1.0 checking installable status
41 http fetch GET 200 https://registry.npmjs.org/ansi-styles 7ms (from cache)
42 http fetch GET 200 https://registry.npmjs.org/escape-string-regexp 7ms (from cache)
43 http fetch GET 200 https://registry.npmjs.org/supports-color 7ms (from cache)
44 silly pacote range manifest for ansi-styles@^3.2.1 fetched in 9ms
45 silly resolveWithNewModule ansi-styles@3.2.1 checking installable status
46 silly pacote range manifest for escape-string-regexp@^1.0.5 fetched in 11ms
47 silly resolveWithNewModule escape-string-regexp@1.0.5 checking installable status
48 silly pacote range manifest for supports-color@^5.3.0 fetched in 10ms
49 silly resolveWithNewModule supports-color@5.5.0 checking installable status
50 http fetch GET 200 https://registry.npmjs.org/color-convert 5ms (from cache)
51 silly pacote range manifest for color-convert@^1.9.0 fetched in 6ms
52 silly resolveWithNewModule color-convert@1.9.3 checking installable status
53 http fetch GET 200 https://registry.npmjs.org/color-name 2ms (from cache)
54 silly pacote version manifest for color-name@1.1.3 fetched in 3ms
55 silly resolveWithNewModule color-name@1.1.3 checking installable status
56 http fetch GET 200 https://registry.npmjs.org/has-flag 2ms (from cache)
57 silly pacote range manifest for has-flag@^3.0.0 fetched in 3ms
58 silly resolveWithNewModule has-flag@3.0.0 checking installable status
59 http fetch GET 200 https://registry.npmjs.org/cross-spawn 15ms (from cache)
60 http fetch GET 200 https://registry.npmjs.org/debug 16ms (from cache)
61 silly pacote range manifest for cross-spawn@^6.0.5 fetched in 17ms
62 silly resolveWithNewModule cross-spawn@6.0.5 checking installable status
63 silly pacote range manifest for debug@^4.0.1 fetched in 18ms
64 silly resolveWithNewModule debug@4.1.1 checking installable status
65 http fetch GET 304 https://registry.npmjs.org/espree 71ms (from cache)
66 silly pacote range manifest for espree@^6.1.2 fetched in 74ms
67 silly resolveWithNewModule espree@6.2.1 checking installable status
68 http fetch GET 304 https://registry.npmjs.org/eslint-scope 92ms (from cache)
69 http fetch GET 304 https://registry.npmjs.org/eslint-utils 93ms (from cache)
70 http fetch GET 304 https://registry.npmjs.org/ajv 95ms (from cache)
71 silly pacote range manifest for eslint-scope@^5.0.0 fetched in 99ms
72 silly resolveWithNewModule eslint-scope@5.1.0 checking installable status
73 http fetch GET 304 https://registry.npmjs.org/doctrine 101ms (from cache)
74 silly pacote range manifest for eslint-utils@^1.4.3 fetched in 101ms
75 silly resolveWithNewModule eslint-utils@1.4.3 checking installable status
76 silly pacote range manifest for ajv@^6.10.0 fetched in 103ms
77 silly resolveWithNewModule ajv@6.12.3 checking installable status
78 http fetch GET 304 https://registry.npmjs.org/@babel%2fcode-frame 107ms (from cache)
79 silly pacote range manifest for doctrine@^3.0.0 fetched in 107ms
80 silly resolveWithNewModule doctrine@3.0.0 checking installable status
81 silly pacote range manifest for @babel/code-frame@^7.0.0 fetched in 111ms
82 silly resolveWithNewModule @babel/code-frame@7.10.4 checking installable status
83 http fetch GET 200 https://registry.npmjs.org/globals 9ms (from cache)
84 http fetch GET 200 https://registry.npmjs.org/import-fresh 6ms (from cache)
85 silly pacote range manifest for globals@^12.1.0 fetched in 11ms
86 silly resolveWithNewModule globals@12.4.0 checking installable status
87 http fetch GET 200 https://registry.npmjs.org/imurmurhash 5ms (from cache)
88 silly pacote range manifest for import-fresh@^3.0.0 fetched in 9ms
89 silly resolveWithNewModule import-fresh@3.2.1 checking installable status
90 silly pacote range manifest for imurmurhash@^0.1.4 fetched in 9ms
91 silly resolveWithNewModule imurmurhash@0.1.4 checking installable status
92 http fetch GET 200 https://registry.npmjs.org/is-glob 5ms (from cache)
93 silly pacote range manifest for is-glob@^4.0.0 fetched in 8ms
94 silly resolveWithNewModule is-glob@4.0.1 checking installable status
95 http fetch GET 200 https://registry.npmjs.org/js-yaml 6ms (from cache)
96 silly pacote range manifest for js-yaml@^3.13.1 fetched in 10ms
97 silly resolveWithNewModule js-yaml@3.14.0 checking installable status
98 http fetch GET 304 https://registry.npmjs.org/eslint-visitor-keys 131ms (from cache)
99 silly pacote range manifest for eslint-visitor-keys@^1.1.0 fetched in 132ms
100 silly resolveWithNewModule eslint-visitor-keys@1.3.0 checking installable status
101 http fetch GET 200 https://registry.npmjs.org/minimatch 1ms (from cache)
102 silly pacote range manifest for minimatch@^3.0.4 fetched in 2ms
103 silly resolveWithNewModule minimatch@3.0.4 checking installable status
104 http fetch GET 200 https://registry.npmjs.org/mkdirp 1ms (from cache)
105 silly pacote range manifest for mkdirp@^0.5.1 fetched in 4ms
106 silly resolveWithNewModule mkdirp@0.5.5 checking installable status
107 http fetch GET 304 https://registry.npmjs.org/levn 86ms (from cache)
108 http fetch GET 304 https://registry.npmjs.org/ignore 108ms (from cache)
109 http fetch GET 304 https://registry.npmjs.org/lodash 82ms (from cache)
110 silly pacote range manifest for levn@^0.3.0 fetched in 90ms
111 silly resolveWithNewModule levn@0.3.0 checking installable status
112 http fetch GET 304 https://registry.npmjs.org/glob-parent 114ms (from cache)
113 silly pacote range manifest for ignore@^4.0.6 fetched in 112ms
114 silly resolveWithNewModule ignore@4.0.6 checking installable status
115 silly pacote range manifest for lodash@^4.17.14 fetched in 88ms
116 silly resolveWithNewModule lodash@4.17.19 checking installable status
117 silly pacote range manifest for glob-parent@^5.0.0 fetched in 121ms
118 silly resolveWithNewModule glob-parent@5.1.1 checking installable status
119 http fetch GET 304 https://registry.npmjs.org/json-stable-stringify-without-jsonify 103ms (from cache)
120 http fetch GET 304 https://registry.npmjs.org/functional-red-black-tree 145ms (from cache)
121 silly pacote range manifest for json-stable-stringify-without-jsonify@^1.0.1 fetched in 108ms
122 silly resolveWithNewModule json-stable-stringify-without-jsonify@1.0.1 checking installable status
123 silly pacote range manifest for functional-red-black-tree@^1.0.1 fetched in 153ms
124 silly resolveWithNewModule functional-red-black-tree@1.0.1 checking installable status
125 http fetch GET 200 https://registry.npmjs.org/strip-ansi 5ms (from cache)
126 silly pacote range manifest for strip-ansi@^5.2.0 fetched in 5ms
127 silly resolveWithNewModule strip-ansi@5.2.0 checking installable status
128 http fetch GET 304 https://registry.npmjs.org/esutils 238ms (from cache)
129 silly pacote range manifest for esutils@^2.0.2 fetched in 240ms
130 silly resolveWithNewModule esutils@2.0.3 checking installable status
131 http fetch GET 304 https://registry.npmjs.org/natural-compare 125ms (from cache)
132 silly pacote range manifest for natural-compare@^1.4.0 fetched in 126ms
133 silly resolveWithNewModule natural-compare@1.4.0 checking installable status
134 http fetch GET 200 https://registry.npmjs.org/v8-compile-cache 3ms (from cache)
135 http fetch GET 304 https://registry.npmjs.org/file-entry-cache 255ms (from cache)
136 silly pacote range manifest for v8-compile-cache@^2.0.3 fetched in 5ms
137 silly resolveWithNewModule v8-compile-cache@2.1.1 checking installable status
138 silly pacote range manifest for file-entry-cache@^5.0.1 fetched in 257ms
139 silly resolveWithNewModule file-entry-cache@5.0.1 checking installable status
140 http fetch GET 304 https://registry.npmjs.org/esquery 274ms (from cache)
141 silly pacote range manifest for esquery@^1.0.1 fetched in 275ms
142 silly resolveWithNewModule esquery@1.3.1 checking installable status
143 http fetch GET 304 https://registry.npmjs.org/strip-json-comments 103ms (from cache)
144 http fetch GET 304 https://registry.npmjs.org/regexpp 115ms (from cache)
145 http fetch GET 304 https://registry.npmjs.org/progress 118ms (from cache)
146 http fetch GET 304 https://registry.npmjs.org/optionator 120ms (from cache)
147 http fetch GET 304 https://registry.npmjs.org/semver 115ms (from cache)
148 http fetch GET 304 https://registry.npmjs.org/table 103ms (from cache)
149 silly pacote range manifest for strip-json-comments@^3.0.1 fetched in 109ms
150 silly resolveWithNewModule strip-json-comments@3.1.1 checking installable status
151 silly pacote range manifest for regexpp@^2.0.1 fetched in 121ms
152 silly resolveWithNewModule regexpp@2.0.1 checking installable status
153 silly pacote range manifest for progress@^2.0.0 fetched in 124ms
154 silly resolveWithNewModule progress@2.0.3 checking installable status
155 silly pacote range manifest for optionator@^0.8.3 fetched in 128ms
156 silly resolveWithNewModule optionator@0.8.3 checking installable status
157 silly pacote range manifest for semver@^6.1.2 fetched in 121ms
158 silly resolveWithNewModule semver@6.3.0 checking installable status
159 silly pacote range manifest for table@^5.2.3 fetched in 109ms
160 silly resolveWithNewModule table@5.4.6 checking installable status
161 http fetch GET 304 https://registry.npmjs.org/text-table 121ms (from cache)
162 silly pacote range manifest for text-table@^0.2.0 fetched in 122ms
163 silly resolveWithNewModule text-table@0.2.0 checking installable status
164 http fetch GET 304 https://registry.npmjs.org/@babel%2fhighlight 95ms (from cache)
165 silly pacote range manifest for @babel/highlight@^7.10.4 fetched in 96ms
166 silly resolveWithNewModule @babel/highlight@7.10.4 checking installable status
167 http fetch GET 200 https://registry.npmjs.org/js-tokens 5ms (from cache)
168 silly pacote range manifest for js-tokens@^4.0.0 fetched in 5ms
169 silly resolveWithNewModule js-tokens@4.0.0 checking installable status
170 http fetch GET 304 https://registry.npmjs.org/@babel%2fhelper-validator-identifier 119ms (from cache)
171 silly pacote range manifest for @babel/helper-validator-identifier@^7.10.4 fetched in 120ms
172 silly resolveWithNewModule @babel/helper-validator-identifier@7.10.4 checking installable status
173 http fetch GET 200 https://registry.npmjs.org/fast-deep-equal 4ms (from cache)
174 http fetch GET 200 https://registry.npmjs.org/fast-json-stable-stringify 5ms (from cache)
175 http fetch GET 200 https://registry.npmjs.org/json-schema-traverse 5ms (from cache)
176 http fetch GET 200 https://registry.npmjs.org/uri-js 4ms (from cache)
177 silly pacote range manifest for fast-deep-equal@^3.1.1 fetched in 7ms
178 silly resolveWithNewModule fast-deep-equal@3.1.3 checking installable status
179 silly pacote range manifest for fast-json-stable-stringify@^2.0.0 fetched in 8ms
180 silly resolveWithNewModule fast-json-stable-stringify@2.1.0 checking installable status
181 silly pacote range manifest for json-schema-traverse@^0.4.1 fetched in 8ms
182 silly resolveWithNewModule json-schema-traverse@0.4.1 checking installable status
183 silly pacote range manifest for uri-js@^4.2.2 fetched in 8ms
184 silly resolveWithNewModule uri-js@4.2.2 checking installable status
185 http fetch GET 200 https://registry.npmjs.org/punycode 1ms (from cache)
186 silly pacote range manifest for punycode@^2.1.0 fetched in 2ms
187 silly resolveWithNewModule punycode@2.1.1 checking installable status
188 silly pacote range manifest for semver@^5.5.0 fetched in 2ms
189 silly resolveWithNewModule semver@5.7.1 checking installable status
190 http fetch GET 200 https://registry.npmjs.org/nice-try 6ms (from cache)
191 http fetch GET 200 https://registry.npmjs.org/path-key 5ms (from cache)
192 http fetch GET 200 https://registry.npmjs.org/shebang-command 5ms (from cache)
193 http fetch GET 200 https://registry.npmjs.org/which 6ms (from cache)
194 silly pacote range manifest for nice-try@^1.0.4 fetched in 8ms
195 silly resolveWithNewModule nice-try@1.0.5 checking installable status
196 silly pacote range manifest for path-key@^2.0.1 fetched in 7ms
197 silly resolveWithNewModule path-key@2.0.1 checking installable status
198 silly pacote range manifest for shebang-command@^1.2.0 fetched in 7ms
199 silly resolveWithNewModule shebang-command@1.2.0 checking installable status
200 silly pacote range manifest for which@^1.2.9 fetched in 8ms
201 silly resolveWithNewModule which@1.3.1 checking installable status
202 http fetch GET 200 https://registry.npmjs.org/shebang-regex 1ms (from cache)
203 silly pacote range manifest for shebang-regex@^1.0.0 fetched in 3ms
204 silly resolveWithNewModule shebang-regex@1.0.0 checking installable status
205 http fetch GET 200 https://registry.npmjs.org/isexe 2ms (from cache)
206 silly pacote range manifest for isexe@^2.0.0 fetched in 2ms
207 silly resolveWithNewModule isexe@2.0.0 checking installable status
208 http fetch GET 200 https://registry.npmjs.org/ms 2ms (from cache)
209 silly pacote range manifest for ms@^2.1.1 fetched in 3ms
210 silly resolveWithNewModule ms@2.1.2 checking installable status
211 http fetch GET 304 https://registry.npmjs.org/esrecurse 77ms (from cache)
212 silly pacote range manifest for esrecurse@^4.1.0 fetched in 78ms
213 silly resolveWithNewModule esrecurse@4.2.1 checking installable status
214 http fetch GET 304 https://registry.npmjs.org/estraverse 88ms (from cache)
215 silly pacote range manifest for estraverse@^4.1.1 fetched in 89ms
216 silly resolveWithNewModule estraverse@4.3.0 checking installable status
217 http fetch GET 304 https://registry.npmjs.org/acorn 95ms (from cache)
218 silly pacote range manifest for acorn@^7.1.1 fetched in 97ms
219 silly resolveWithNewModule acorn@7.4.0 checking installable status
220 http fetch GET 304 https://registry.npmjs.org/acorn-jsx 489ms (from cache)
221 silly pacote range manifest for acorn-jsx@^5.2.0 fetched in 490ms
222 silly resolveWithNewModule acorn-jsx@5.2.0 checking installable status
223 silly pacote range manifest for estraverse@^5.1.0 fetched in 1ms
224 silly resolveWithNewModule estraverse@5.2.0 checking installable status
225 http fetch GET 304 https://registry.npmjs.org/flat-cache 69ms (from cache)
226 silly pacote range manifest for flat-cache@^2.0.1 fetched in 70ms
227 silly resolveWithNewModule flat-cache@2.0.1 checking installable status
228 http fetch GET 200 https://registry.npmjs.org/rimraf 5ms (from cache)
229 silly pacote version manifest for rimraf@2.6.3 fetched in 6ms
230 silly resolveWithNewModule rimraf@2.6.3 checking installable status
231 http fetch GET 304 https://registry.npmjs.org/write 145ms (from cache)
232 http fetch GET 304 https://registry.npmjs.org/flatted 146ms (from cache)
233 silly pacote version manifest for write@1.0.3 fetched in 147ms
234 silly resolveWithNewModule write@1.0.3 checking installable status
235 silly pacote range manifest for flatted@^2.0.0 fetched in 148ms
236 silly resolveWithNewModule flatted@2.0.2 checking installable status
237 http fetch GET 200 https://registry.npmjs.org/glob 1ms (from cache)
238 silly pacote range manifest for glob@^7.1.3 fetched in 4ms
239 silly resolveWithNewModule glob@7.1.6 checking installable status
240 http fetch GET 200 https://registry.npmjs.org/inherits 6ms (from cache)
241 http fetch GET 200 https://registry.npmjs.org/path-is-absolute 6ms (from cache)
242 http fetch GET 200 https://registry.npmjs.org/once 7ms (from cache)
243 http fetch GET 200 https://registry.npmjs.org/fs.realpath 9ms (from cache)
244 silly pacote range manifest for inherits@2 fetched in 9ms
245 silly resolveWithNewModule inherits@2.0.4 checking installable status
246 silly pacote range manifest for path-is-absolute@^1.0.0 fetched in 9ms
247 silly resolveWithNewModule path-is-absolute@1.0.1 checking installable status
248 silly pacote range manifest for once@^1.3.0 fetched in 10ms
249 silly resolveWithNewModule once@1.4.0 checking installable status
250 silly pacote range manifest for fs.realpath@^1.0.0 fetched in 12ms
251 silly resolveWithNewModule fs.realpath@1.0.0 checking installable status
252 http fetch GET 304 https://registry.npmjs.org/inflight 82ms (from cache)
253 silly pacote range manifest for inflight@^1.0.4 fetched in 84ms
254 silly resolveWithNewModule inflight@1.0.6 checking installable status
255 http fetch GET 200 https://registry.npmjs.org/wrappy 2ms (from cache)
256 silly pacote range manifest for wrappy@1 fetched in 3ms
257 silly resolveWithNewModule wrappy@1.0.2 checking installable status
258 http fetch GET 200 https://registry.npmjs.org/brace-expansion 2ms (from cache)
259 silly pacote range manifest for brace-expansion@^1.1.7 fetched in 3ms
260 silly resolveWithNewModule brace-expansion@1.1.11 checking installable status
261 http fetch GET 200 https://registry.npmjs.org/balanced-match 3ms (from cache)
262 http fetch GET 200 https://registry.npmjs.org/concat-map 3ms (from cache)
263 silly pacote range manifest for balanced-match@^1.0.0 fetched in 4ms
264 silly resolveWithNewModule balanced-match@1.0.0 checking installable status
265 silly pacote version manifest for concat-map@0.0.1 fetched in 4ms
266 silly resolveWithNewModule concat-map@0.0.1 checking installable status
267 http fetch GET 200 https://registry.npmjs.org/minimist 1ms (from cache)
268 silly pacote range manifest for minimist@^1.2.5 fetched in 2ms
269 silly resolveWithNewModule minimist@1.2.5 checking installable status
270 http fetch GET 200 https://registry.npmjs.org/is-extglob 2ms (from cache)
271 silly pacote range manifest for is-extglob@^2.1.1 fetched in 3ms
272 silly resolveWithNewModule is-extglob@2.1.1 checking installable status
273 http fetch GET 304 https://registry.npmjs.org/type-fest 99ms (from cache)
274 silly pacote range manifest for type-fest@^0.8.1 fetched in 100ms
275 silly resolveWithNewModule type-fest@0.8.1 checking installable status
276 http fetch GET 200 https://registry.npmjs.org/resolve-from 3ms (from cache)
277 silly pacote range manifest for resolve-from@^4.0.0 fetched in 4ms
278 silly resolveWithNewModule resolve-from@4.0.0 checking installable status
279 http fetch GET 304 https://registry.npmjs.org/parent-module 115ms (from cache)
280 silly pacote range manifest for parent-module@^1.0.0 fetched in 115ms
281 silly resolveWithNewModule parent-module@1.0.1 checking installable status
282 http fetch GET 200 https://registry.npmjs.org/callsites 1ms (from cache)
283 silly pacote range manifest for callsites@^3.0.0 fetched in 3ms
284 silly resolveWithNewModule callsites@3.1.0 checking installable status
285 silly pacote range manifest for chalk@^4.1.0 fetched in 7ms
286 silly resolveWithNewModule chalk@4.1.0 checking installable status
287 http fetch GET 200 https://registry.npmjs.org/cli-width 13ms (from cache)
288 http fetch GET 200 https://registry.npmjs.org/figures 13ms (from cache)
289 http fetch GET 200 https://registry.npmjs.org/ansi-escapes 14ms (from cache)
290 silly pacote range manifest for strip-ansi@^6.0.0 fetched in 6ms
291 silly resolveWithNewModule strip-ansi@6.0.0 checking installable status
292 http fetch GET 200 https://registry.npmjs.org/cli-cursor 16ms (from cache)
293 http fetch GET 200 https://registry.npmjs.org/run-async 15ms (from cache)
294 http fetch GET 200 https://registry.npmjs.org/external-editor 17ms (from cache)
295 http fetch GET 200 https://registry.npmjs.org/rxjs 16ms (from cache)
296 http fetch GET 200 https://registry.npmjs.org/string-width 19ms (from cache)
297 silly pacote range manifest for cli-width@^3.0.0 fetched in 23ms
298 silly resolveWithNewModule cli-width@3.0.0 checking installable status
299 silly pacote range manifest for figures@^3.0.0 fetched in 23ms
300 silly resolveWithNewModule figures@3.2.0 checking installable status
301 silly pacote range manifest for ansi-escapes@^4.2.1 fetched in 24ms
302 silly resolveWithNewModule ansi-escapes@4.3.1 checking installable status
303 silly pacote range manifest for cli-cursor@^3.1.0 fetched in 25ms
304 silly resolveWithNewModule cli-cursor@3.1.0 checking installable status
305 silly pacote range manifest for run-async@^2.4.0 fetched in 24ms
306 silly resolveWithNewModule run-async@2.4.1 checking installable status
307 silly pacote range manifest for external-editor@^3.0.3 fetched in 25ms
308 silly resolveWithNewModule external-editor@3.1.0 checking installable status
309 silly pacote range manifest for rxjs@^6.6.0 fetched in 25ms
310 silly resolveWithNewModule rxjs@6.6.2 checking installable status
311 silly pacote range manifest for string-width@^4.1.0 fetched in 26ms
312 silly resolveWithNewModule string-width@4.2.0 checking installable status
313 http fetch GET 200 https://registry.npmjs.org/through 12ms (from cache)
314 silly pacote range manifest for through@^2.3.6 fetched in 13ms
315 silly resolveWithNewModule through@2.3.8 checking installable status
316 http fetch GET 304 https://registry.npmjs.org/mute-stream 115ms (from cache)
317 silly pacote version manifest for mute-stream@0.0.8 fetched in 116ms
318 silly resolveWithNewModule mute-stream@0.0.8 checking installable status
319 silly pacote range manifest for type-fest@^0.11.0 fetched in 0ms
320 silly resolveWithNewModule type-fest@0.11.0 checking installable status
321 silly pacote range manifest for ansi-styles@^4.1.0 fetched in 0ms
322 silly resolveWithNewModule ansi-styles@4.2.1 checking installable status
323 silly pacote range manifest for supports-color@^7.1.0 fetched in 1ms
324 silly resolveWithNewModule supports-color@7.1.0 checking installable status
325 silly pacote range manifest for color-convert@^2.0.1 fetched in 1ms
326 silly resolveWithNewModule color-convert@2.0.1 checking installable status
327 http fetch GET 200 https://registry.npmjs.org/@types%2fcolor-name 2ms (from cache)
328 silly pacote range manifest for @types/color-name@^1.1.1 fetched in 3ms
329 silly resolveWithNewModule @types/color-name@1.1.1 checking installable status
330 silly pacote range manifest for color-name@~1.1.4 fetched in 0ms
331 silly resolveWithNewModule color-name@1.1.4 checking installable status
332 silly pacote range manifest for has-flag@^4.0.0 fetched in 1ms
333 silly resolveWithNewModule has-flag@4.0.0 checking installable status
334 http fetch GET 200 https://registry.npmjs.org/restore-cursor 2ms (from cache)
335 silly pacote range manifest for restore-cursor@^3.1.0 fetched in 3ms
336 silly resolveWithNewModule restore-cursor@3.1.0 checking installable status
337 http fetch GET 200 https://registry.npmjs.org/signal-exit 2ms (from cache)
338 silly pacote range manifest for signal-exit@^3.0.2 fetched in 3ms
339 silly resolveWithNewModule signal-exit@3.0.3 checking installable status
340 http fetch GET 304 https://registry.npmjs.org/onetime 103ms (from cache)
341 silly pacote range manifest for onetime@^5.1.0 fetched in 104ms
342 silly resolveWithNewModule onetime@5.1.1 checking installable status
343 http fetch GET 304 https://registry.npmjs.org/mimic-fn 111ms (from cache)
344 silly pacote range manifest for mimic-fn@^2.1.0 fetched in 112ms
345 silly resolveWithNewModule mimic-fn@2.1.0 checking installable status
346 http fetch GET 200 https://registry.npmjs.org/tmp 4ms (from cache)
347 silly pacote range manifest for tmp@^0.0.33 fetched in 5ms
348 silly resolveWithNewModule tmp@0.0.33 checking installable status
349 http fetch GET 304 https://registry.npmjs.org/chardet 73ms (from cache)
350 silly pacote range manifest for chardet@^0.7.0 fetched in 75ms
351 silly resolveWithNewModule chardet@0.7.0 checking installable status
352 http fetch GET 304 https://registry.npmjs.org/iconv-lite 82ms (from cache)
353 silly pacote range manifest for iconv-lite@^0.4.24 fetched in 84ms
354 silly resolveWithNewModule iconv-lite@0.4.24 checking installable status
355 http fetch GET 200 https://registry.npmjs.org/safer-buffer 2ms (from cache)
356 silly pacote range manifest for safer-buffer@>= 2.1.2 < 3 fetched in 2ms
357 silly resolveWithNewModule safer-buffer@2.1.2 checking installable status
358 http fetch GET 200 https://registry.npmjs.org/os-tmpdir 1ms (from cache)
359 silly pacote range manifest for os-tmpdir@~1.0.2 fetched in 2ms
360 silly resolveWithNewModule os-tmpdir@1.0.2 checking installable status
361 http fetch GET 200 https://registry.npmjs.org/tslib 2ms (from cache)
362 silly pacote range manifest for tslib@^1.9.0 fetched in 3ms
363 silly resolveWithNewModule tslib@1.13.0 checking installable status
364 silly pacote range manifest for strip-ansi@^6.0.0 fetched in 2ms
365 silly resolveWithNewModule strip-ansi@6.0.0 checking installable status
366 http fetch GET 200 https://registry.npmjs.org/emoji-regex 5ms (from cache)
367 http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 4ms (from cache)
368 silly pacote range manifest for emoji-regex@^8.0.0 fetched in 7ms
369 silly resolveWithNewModule emoji-regex@8.0.0 checking installable status
370 silly pacote range manifest for is-fullwidth-code-point@^3.0.0 fetched in 7ms
371 silly resolveWithNewModule is-fullwidth-code-point@3.0.0 checking installable status
372 http fetch GET 200 https://registry.npmjs.org/ansi-regex 4ms (from cache)
373 silly pacote range manifest for ansi-regex@^5.0.0 fetched in 5ms
374 silly resolveWithNewModule ansi-regex@5.0.0 checking installable status
375 http fetch GET 200 https://registry.npmjs.org/argparse 3ms (from cache)
376 http fetch GET 200 https://registry.npmjs.org/esprima 3ms (from cache)
377 silly pacote range manifest for argparse@^1.0.7 fetched in 5ms
378 silly resolveWithNewModule argparse@1.0.10 checking installable status
379 silly pacote range manifest for esprima@^4.0.0 fetched in 4ms
380 silly resolveWithNewModule esprima@4.0.1 checking installable status
381 http fetch GET 200 https://registry.npmjs.org/sprintf-js 1ms (from cache)
382 silly pacote range manifest for sprintf-js@~1.0.2 fetched in 2ms
383 silly resolveWithNewModule sprintf-js@1.0.3 checking installable status
384 http fetch GET 304 https://registry.npmjs.org/prelude-ls 97ms (from cache)
385 http fetch GET 304 https://registry.npmjs.org/type-check 98ms (from cache)
386 silly pacote range manifest for prelude-ls@~1.1.2 fetched in 98ms
387 silly resolveWithNewModule prelude-ls@1.1.2 checking installable status
388 silly pacote range manifest for type-check@~0.3.2 fetched in 99ms
389 silly resolveWithNewModule type-check@0.3.2 checking installable status
390 http fetch GET 200 https://registry.npmjs.org/deep-is 5ms (from cache)
391 silly pacote range manifest for deep-is@~0.1.3 fetched in 6ms
392 silly resolveWithNewModule deep-is@0.1.3 checking installable status
393 http fetch GET 304 https://registry.npmjs.org/word-wrap 93ms (from cache)
394 silly pacote range manifest for word-wrap@~1.2.3 fetched in 94ms
395 silly resolveWithNewModule word-wrap@1.2.3 checking installable status
396 http fetch GET 304 https://registry.npmjs.org/fast-levenshtein 104ms (from cache)
397 silly pacote range manifest for fast-levenshtein@~2.0.6 fetched in 105ms
398 silly resolveWithNewModule fast-levenshtein@2.0.6 checking installable status
399 silly pacote range manifest for ansi-regex@^4.1.0 fetched in 1ms
400 silly resolveWithNewModule ansi-regex@4.1.0 checking installable status
401 silly pacote range manifest for string-width@^3.0.0 fetched in 1ms
402 silly resolveWithNewModule string-width@3.1.0 checking installable status
403 http fetch GET 304 https://registry.npmjs.org/slice-ansi 97ms (from cache)
404 silly pacote range manifest for slice-ansi@^2.1.0 fetched in 97ms
405 silly resolveWithNewModule slice-ansi@2.1.0 checking installable status
406 silly pacote range manifest for is-fullwidth-code-point@^2.0.0 fetched in 1ms
407 silly resolveWithNewModule is-fullwidth-code-point@2.0.0 checking installable status
408 http fetch GET 304 https://registry.npmjs.org/astral-regex 79ms (from cache)
409 silly pacote range manifest for astral-regex@^1.0.0 fetched in 80ms
410 silly resolveWithNewModule astral-regex@1.0.0 checking installable status
411 silly pacote range manifest for emoji-regex@^7.0.1 fetched in 2ms
412 silly resolveWithNewModule emoji-regex@7.0.3 checking installable status
413 silly pacote range manifest for is-fullwidth-code-point@^2.0.0 fetched in 2ms
414 silly resolveWithNewModule is-fullwidth-code-point@2.0.0 checking installable status
415 silly pacote range manifest for cross-spawn@^7.0.0 fetched in 5ms
416 silly resolveWithNewModule cross-spawn@7.0.3 checking installable status
417 http fetch GET 200 https://registry.npmjs.org/p-finally 7ms (from cache)
418 http fetch GET 200 https://registry.npmjs.org/npm-run-path 9ms (from cache)
419 http fetch GET 200 https://registry.npmjs.org/get-stream 10ms (from cache)
420 http fetch GET 200 https://registry.npmjs.org/merge-stream 10ms (from cache)
421 http fetch GET 200 https://registry.npmjs.org/is-stream 10ms (from cache)
422 silly pacote range manifest for p-finally@^2.0.0 fetched in 10ms
423 silly resolveWithNewModule p-finally@2.0.1 checking installable status
424 silly pacote range manifest for npm-run-path@^4.0.0 fetched in 11ms
425 silly resolveWithNewModule npm-run-path@4.0.1 checking installable status
426 silly pacote range manifest for get-stream@^5.0.0 fetched in 12ms
427 silly resolveWithNewModule get-stream@5.1.0 checking installable status
428 silly pacote range manifest for merge-stream@^2.0.0 fetched in 12ms
429 silly resolveWithNewModule merge-stream@2.0.0 checking installable status
430 silly pacote range manifest for is-stream@^2.0.0 fetched in 12ms
431 silly resolveWithNewModule is-stream@2.0.0 checking installable status
432 http fetch GET 304 https://registry.npmjs.org/strip-final-newline 86ms (from cache)
433 silly pacote range manifest for strip-final-newline@^2.0.0 fetched in 87ms
434 silly resolveWithNewModule strip-final-newline@2.0.0 checking installable status
435 http fetch GET 304 https://registry.npmjs.org/human-signals 98ms (from cache)
436 silly pacote range manifest for human-signals@^1.1.1 fetched in 99ms
437 silly resolveWithNewModule human-signals@1.1.1 checking installable status
438 silly pacote range manifest for shebang-command@^2.0.0 fetched in 1ms
439 silly resolveWithNewModule shebang-command@2.0.0 checking installable status
440 silly pacote range manifest for path-key@^3.1.0 fetched in 2ms
441 silly resolveWithNewModule path-key@3.1.1 checking installable status
442 silly pacote range manifest for which@^2.0.1 fetched in 2ms
443 silly resolveWithNewModule which@2.0.2 checking installable status
444 silly pacote range manifest for shebang-regex@^3.0.0 fetched in 0ms
445 silly resolveWithNewModule shebang-regex@3.0.0 checking installable status
446 http fetch GET 200 https://registry.npmjs.org/pump 1ms (from cache)
447 silly pacote range manifest for pump@^3.0.0 fetched in 3ms
448 silly resolveWithNewModule pump@3.0.0 checking installable status
449 http fetch GET 200 https://registry.npmjs.org/end-of-stream 1ms (from cache)
450 silly pacote range manifest for end-of-stream@^1.1.0 fetched in 3ms
451 silly resolveWithNewModule end-of-stream@1.4.4 checking installable status
452 silly pacote range manifest for path-key@^3.0.0 fetched in 1ms
453 silly resolveWithNewModule path-key@3.1.1 checking installable status
454 silly pacote range manifest for ignore@^5.1.1 fetched in 3ms
455 silly resolveWithNewModule ignore@5.1.8 checking installable status
456 http fetch GET 200 https://registry.npmjs.org/slash 7ms (from cache)
457 silly pacote range manifest for slash@^3.0.0 fetched in 7ms
458 silly resolveWithNewModule slash@3.0.0 checking installable status
459 http fetch GET 304 https://registry.npmjs.org/array-union 112ms (from cache)
460 http fetch GET 304 https://registry.npmjs.org/merge2 112ms (from cache)
461 silly pacote range manifest for array-union@^2.1.0 fetched in 114ms
462 silly resolveWithNewModule array-union@2.1.0 checking installable status
463 silly pacote range manifest for merge2@^1.2.3 fetched in 114ms
464 silly resolveWithNewModule merge2@1.4.1 checking installable status
465 http fetch GET 304 https://registry.npmjs.org/dir-glob 115ms (from cache)
466 http fetch GET 304 https://registry.npmjs.org/fast-glob 115ms (from cache)
467 http fetch GET 304 https://registry.npmjs.org/@types%2fglob 116ms (from cache)
468 silly pacote range manifest for dir-glob@^3.0.1 fetched in 117ms
469 silly resolveWithNewModule dir-glob@3.0.1 checking installable status
470 silly pacote range manifest for fast-glob@^3.0.3 fetched in 117ms
471 silly resolveWithNewModule fast-glob@3.2.4 checking installable status
472 silly pacote range manifest for @types/glob@^7.1.1 fetched in 118ms
473 silly resolveWithNewModule @types/glob@7.1.3 checking installable status
474 http fetch GET 304 https://registry.npmjs.org/@types%2fminimatch 94ms (from cache)
475 silly pacote range manifest for @types/minimatch@* fetched in 95ms
476 silly resolveWithNewModule @types/minimatch@3.0.3 checking installable status
477 http fetch GET 304 https://registry.npmjs.org/@types%2fnode 97ms (from cache)
478 silly pacote range manifest for @types/node@* fetched in 101ms
479 silly resolveWithNewModule @types/node@14.0.27 checking installable status
480 http fetch GET 304 https://registry.npmjs.org/path-type 72ms (from cache)
481 silly pacote range manifest for path-type@^4.0.0 fetched in 73ms
482 silly resolveWithNewModule path-type@4.0.0 checking installable status
483 http fetch GET 200 https://registry.npmjs.org/micromatch 7ms (from cache)
484 silly pacote range manifest for micromatch@^4.0.2 fetched in 10ms
485 silly resolveWithNewModule micromatch@4.0.2 checking installable status
486 http fetch GET 304 https://registry.npmjs.org/picomatch 97ms (from cache)
487 silly pacote range manifest for picomatch@^2.2.1 fetched in 98ms
488 silly resolveWithNewModule picomatch@2.2.2 checking installable status
489 http fetch GET 404 https://registry.npmjs.org/@nodelib%2ffs.stat 100ms
490 http fetch GET 404 https://registry.npmjs.org/@nodelib%2ffs.stat 96ms
491 silly fetchPackageMetaData error for @nodelib/fs.stat@^2.0.2 404 Not Found - GET https://registry.npmjs.org/@nodelib%2ffs.stat - Not found
492 http fetch GET 404 https://registry.npmjs.org/@nodelib%2ffs.walk 1084ms
493 http fetch GET 404 https://registry.npmjs.org/@nodelib%2ffs.walk 72ms
494 silly fetchPackageMetaData error for @nodelib/fs.walk@^1.2.3 404 Not Found - GET https://registry.npmjs.org/@nodelib%2ffs.walk - Not found
495 timing stage:rollbackFailedOptional Completed in 0ms
496 timing stage:runTopLevelLifecycles Completed in 7209ms
497 verbose stack Error: 404 Not Found - GET https://registry.npmjs.org/@nodelib%2ffs.stat - Not found
497 verbose stack     at /Users/justin/.nvm/versions/node/v12.16.3/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:104:15
497 verbose stack     at runMicrotasks (<anonymous>)
497 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:97:5)
498 verbose statusCode 404
499 verbose pkgid @nodelib/fs.stat@^2.0.2
500 verbose cwd /Users/justin/Projects/airbase-frontend
501 verbose Darwin 19.6.0
502 verbose argv "/Users/justin/.nvm/versions/node/v12.16.3/bin/node" "/Users/justin/.nvm/versions/node/v12.16.3/lib/node_modules/npm/bin/npm-cli.js" "install" "react-codemod@latest" "--global" "--prefix" "/Users/justin/.npm/_npx/5161" "--loglevel" "error" "--json"
503 verbose node v12.16.3
504 verbose npm  v6.14.4
505 error code E404
506 error 404 Not Found - GET https://registry.npmjs.org/@nodelib%2ffs.stat - Not found
507 error 404
508 error 404 '@nodelib/fs.stat@^2.0.2' is not in the npm registry.
509 error 404 You should bug the author to publish it (or use the name yourself!)
510 error 404 It was specified as a dependency of 'fast-glob'
511 error 404 Note that you can also install from a
512 error 404 tarball, folder, http url, or git url.
513 verbose exit [ 1, true ]

Is this temporary or something which I should be doing differently on my end? I have used this codemod without any issues in the past on my machine.

simondch commented 3 years ago

issue with scoped packages @ npmjs It should be back to normal now

https://status.npmjs.org/incidents/cksjqc1w11v5

ghost commented 3 years ago

issue with scoped packages @ npmjs It should be back to normal now

https://status.npmjs.org/incidents/cksjqc1w11v5

Yes, just checked. Confirmed working.