You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran "npm create cloudflare@latest" selected to create a Pages app with the Nuxt framework and encountered an error (the details are for another ticket). The program then says
"npm ERR! A complete log of this run can be found in: /Users/mschumacher/.npm/_logs/2024-07-01T17_36_12_589Z-debug-0.log" but this file does not exist, the correct file name has a timestamp that is about 5 minutes later:
The file name logged by the console should be the same as the name of the file that was created.
Steps to reproduce
Please provide the following:
A minimal working subset of your worker code => not required
A minimal working subset of your wrangler.toml => not required
Commands used to start your local dev server, including custom env and cli args => not required
Steps to be performed in the browser, curl commands, or a test we can run that reliably fails (at least a percent of the time) => not required
npm create cloudflare@latest
Select fhe path below (though I imagine other kinds of failure are possible, I don't think this is Nuxt-specific:
Create an application with Cloudflare Step 1 of 3
│
├ In which directory do you want to create your application?
│ dir ./pages-r2-images-zaraz
│
├ What type of application do you want to create?
│ type Website or web app
│
├ Which development framework do you want to use?
│ framework Nuxt
Please find the full outout of my commandline in the file below (please pay special attention to the far right of the screen that shows the timestamp of when the command was executed in the terminal. timestampLog.txt
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
The error log that was misplaced itself:
0 verbose cli /Users/mschumacher/.volta/tools/image/node/18.18.0/bin/node /Users/mschumacher/code/node_modules/npm/bin/npm-cli.js
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/Users/mschumacher/code/node_modules/npm/npmrc Completed in 0ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/mschumacher/code/.npmrc Completed in 0ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:/Users/mschumacher/.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/Users/mschumacher/.volta/tools/image/node/18.18.0/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 0ms
16 timing config:load Completed in 6ms
17 timing npm:load:configload Completed in 6ms
18 timing config:load:flatten Completed in 1ms
19 timing npm:load:mkdirpcache Completed in 0ms
20 timing npm:load:mkdirplogs Completed in 0ms
21 verbose title npm exec [email protected] init pages-r2-images-zaraz --packageManager npm --no-gitInit
22 verbose argv "exec" "--" "[email protected]" "init" "pages-r2-images-zaraz" "--packageManager" "npm" "--no-gitInit"
23 timing npm:load:setTitle Completed in 6ms
24 timing npm:load:display Completed in 1ms
25 verbose logfile logs-max:10 dir:/Users/mschumacher/.npm/_logs/2024-07-01T17_42_42_174Z-
26 verbose logfile /Users/mschumacher/.npm/_logs/2024-07-01T17_42_42_174Z-debug-0.log
27 timing npm:load:logFile Completed in 4ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 28ms
31 silly logfile start cleaning logs, removing 1 files
32 timing arborist:ctor Completed in 1ms
33 silly logfile done cleaning log files
34 timing arborist:ctor Completed in 0ms
35 http fetch GET 200 https://registry.npmjs.org/nuxi 512ms (cache miss)
36 timing arborist:ctor Completed in 0ms
37 timing arborist:ctor Completed in 0ms
38 timing arborist:ctor Completed in 0ms
39 timing idealTree:init Completed in 1ms
40 timing idealTree:userRequests Completed in 0ms
41 silly idealTree buildDeps
42 silly fetch manifest [email protected]
43 http fetch GET 200 https://registry.npmjs.org/nuxi 45ms (cache hit)
44 silly placeDep ROOT [email protected] OK for: want: 3.12.0
45 silly fetch manifest fsevents@~2.3.3
46 http fetch GET 200 https://registry.npmjs.org/fsevents 112ms (cache revalidated)
47 timing idealTree:#root Completed in 161ms
48 silly placeDep ROOT [email protected] OK for: [email protected] want: ~2.3.3
49 timing idealTree:node_modules/nuxi Completed in 0ms
50 timing idealTree:node_modules/fsevents Completed in 0ms
51 timing idealTree:buildDeps Completed in 163ms
52 timing idealTree:fixDepFlags Completed in 0ms
53 timing idealTree Completed in 165ms
54 timing reify:loadTrees Completed in 166ms
55 timing reify:diffTrees Completed in 0ms
56 silly reify moves {}
57 timing reify:retireShallow Completed in 0ms
58 timing reify:createSparse Completed in 1ms
59 timing reify:loadBundles Completed in 0ms
60 silly audit bulk request { nuxi: [ '3.12.0' ], fsevents: [ '2.3.3' ] }
61 silly tarball no local data for nuxi@http://registry.npmjs.org/nuxi/-/nuxi-3.12.0.tgz. Extracting by manifest.
62 timing reifyNode:node_modules/fsevents Completed in 10ms
63 notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
64 http fetch POST 426 http://registry.npmjs.org/-/npm/v1/security/advisories/bulk 37ms
65 silly audit bulk request failed Beginning October 4, 2021, all connections to npm websites and the npm registry - including for package installation - must use HTTPS and TLS 1.2 or higher.
65 silly audit
65 silly audit For more information see this blog post: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
66 notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
67 http fetch POST 426 http://registry.npmjs.org/-/npm/v1/security/audits/quick 47ms
68 verbose audit error HttpErrorGeneral: 426 Upgrade Required - POST http://registry.npmjs.org/-/npm/v1/security/audits/quick
68 verbose audit error at /Users/mschumacher/code/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js:95:15
68 verbose audit error at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
68 verbose audit error at async [getReport] (/Users/mschumacher/code/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:335:21)
68 verbose audit error at async AuditReport.run (/Users/mschumacher/code/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:106:19) {
68 verbose audit error headers: [Object: null prototype] {
68 verbose audit error date: [ 'Mon, 01 Jul 2024 17:42:27 GMT' ],
68 verbose audit error 'content-type': [ 'text/plain' ],
68 verbose audit error 'content-length': [ '271' ],
68 verbose audit error connection: [ 'keep-alive' ],
68 verbose audit error 'npm-notice': [
68 verbose audit error 'Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/'
68 verbose audit error ],
68 verbose audit error vary: [ 'Accept-Encoding' ],
68 verbose audit error server: [ 'cloudflare' ],
68 verbose audit error 'cf-ray': [ '89c8315469fabb8f-FRA' ],
68 verbose audit error 'cf-team': [ '2110fd28c30000bb8f2008e400000001' ],
68 verbose audit error 'x-fetch-attempts': [ '1' ]
68 verbose audit error },
68 verbose audit error statusCode: 426,
68 verbose audit error code: 'E426',
68 verbose audit error method: 'POST',
68 verbose audit error uri: 'http://registry.npmjs.org/-/npm/v1/security/audits/quick',
68 verbose audit error body: <Buffer 42 65 67 69 6e 6e 69 6e 67 20 4f 63 74 6f 62 65 72 20 34 2c 20 32 30 32 31 2c 20 61 6c 6c 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 20 74 6f 20 6e 70 6d 20 ... 221 more bytes>,
68 verbose audit error pkgid: undefined
68 verbose audit error }
69 silly audit error Beginning October 4, 2021, all connections to npm websites and the npm registry - including for package installation - must use HTTPS and TLS 1.2 or higher.
69 silly audit error
69 silly audit error For more information see this blog post: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
70 timing auditReport:getReport Completed in 88ms
71 silly audit report null
72 timing reify:audit Completed in 88ms
73 http fetch GET 200 https://registry.npmjs.org/nuxi/-/nuxi-3.12.0.tgz 319ms (cache miss)
74 timing reifyNode:node_modules/nuxi Completed in 322ms
75 timing reify:unpack Completed in 322ms
76 timing reify:unretire Completed in 0ms
77 timing build:queue Completed in 1ms
78 timing build:link:node_modules/nuxi Completed in 1ms
79 timing build:link Completed in 1ms
80 timing build:deps Completed in 2ms
81 timing build Completed in 2ms
82 timing reify:build Completed in 2ms
83 timing reify:trash Completed in 0ms
84 timing reify:save Completed in 2ms
85 timing reify Completed in 497ms
86 timing command:exec Completed in 4295ms
87 verbose exit 1
88 timing npm Completed in 4450ms
89 verbose code 1
The text was updated successfully, but these errors were encountered:
Which Cloudflare product(s) does this pertain to?
C3
What version(s) of the tool(s) are you using?
2.21.9 [C3]
What version of Node are you using?
v18.18.0
What operating system and version are you using?
macos 14.5.0
Describe the Bug
Observed behavior
I ran "npm create cloudflare@latest" selected to create a Pages app with the Nuxt framework and encountered an error (the details are for another ticket). The program then says
"npm ERR! A complete log of this run can be found in: /Users/mschumacher/.npm/_logs/2024-07-01T17_36_12_589Z-debug-0.log" but this file does not exist, the correct file name has a timestamp that is about 5 minutes later:
/Users/mschumacher/.npm/_logs/2024-07-01T17_42_42_174Z-debug-0.log
Expected behavior
The file name logged by the console should be the same as the name of the file that was created.
Steps to reproduce
Please provide the following:
wrangler.toml
=> not requiredSelect fhe path below (though I imagine other kinds of failure are possible, I don't think this is Nuxt-specific:
Create an application with Cloudflare Step 1 of 3
│
├ In which directory do you want to create your application?
│ dir ./pages-r2-images-zaraz
│
├ What type of application do you want to create?
│ type Website or web app
│
├ Which development framework do you want to use?
│ framework Nuxt
Please find the full outout of my commandline in the file below (please pay special attention to the far right of the screen that shows the timestamp of when the command was executed in the terminal.
timestampLog.txt
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
The error log that was misplaced itself:
0 verbose cli /Users/mschumacher/.volta/tools/image/node/18.18.0/bin/node /Users/mschumacher/code/node_modules/npm/bin/npm-cli.js
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/Users/mschumacher/code/node_modules/npm/npmrc Completed in 0ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/mschumacher/code/.npmrc Completed in 0ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:/Users/mschumacher/.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/Users/mschumacher/.volta/tools/image/node/18.18.0/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 0ms
16 timing config:load Completed in 6ms
17 timing npm:load:configload Completed in 6ms
18 timing config:load:flatten Completed in 1ms
19 timing npm:load:mkdirpcache Completed in 0ms
20 timing npm:load:mkdirplogs Completed in 0ms
21 verbose title npm exec [email protected] init pages-r2-images-zaraz --packageManager npm --no-gitInit
22 verbose argv "exec" "--" "[email protected]" "init" "pages-r2-images-zaraz" "--packageManager" "npm" "--no-gitInit"
23 timing npm:load:setTitle Completed in 6ms
24 timing npm:load:display Completed in 1ms
25 verbose logfile logs-max:10 dir:/Users/mschumacher/.npm/_logs/2024-07-01T17_42_42_174Z-
26 verbose logfile /Users/mschumacher/.npm/_logs/2024-07-01T17_42_42_174Z-debug-0.log
27 timing npm:load:logFile Completed in 4ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 28ms
31 silly logfile start cleaning logs, removing 1 files
32 timing arborist:ctor Completed in 1ms
33 silly logfile done cleaning log files
34 timing arborist:ctor Completed in 0ms
35 http fetch GET 200 https://registry.npmjs.org/nuxi 512ms (cache miss)
36 timing arborist:ctor Completed in 0ms
37 timing arborist:ctor Completed in 0ms
38 timing arborist:ctor Completed in 0ms
39 timing idealTree:init Completed in 1ms
40 timing idealTree:userRequests Completed in 0ms
41 silly idealTree buildDeps
42 silly fetch manifest [email protected]
43 http fetch GET 200 https://registry.npmjs.org/nuxi 45ms (cache hit)
44 silly placeDep ROOT [email protected] OK for: want: 3.12.0
45 silly fetch manifest fsevents@~2.3.3
46 http fetch GET 200 https://registry.npmjs.org/fsevents 112ms (cache revalidated)
47 timing idealTree:#root Completed in 161ms
48 silly placeDep ROOT [email protected] OK for: [email protected] want: ~2.3.3
49 timing idealTree:node_modules/nuxi Completed in 0ms
50 timing idealTree:node_modules/fsevents Completed in 0ms
51 timing idealTree:buildDeps Completed in 163ms
52 timing idealTree:fixDepFlags Completed in 0ms
53 timing idealTree Completed in 165ms
54 timing reify:loadTrees Completed in 166ms
55 timing reify:diffTrees Completed in 0ms
56 silly reify moves {}
57 timing reify:retireShallow Completed in 0ms
58 timing reify:createSparse Completed in 1ms
59 timing reify:loadBundles Completed in 0ms
60 silly audit bulk request { nuxi: [ '3.12.0' ], fsevents: [ '2.3.3' ] }
61 silly tarball no local data for nuxi@http://registry.npmjs.org/nuxi/-/nuxi-3.12.0.tgz. Extracting by manifest.
62 timing reifyNode:node_modules/fsevents Completed in 10ms
63 notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
64 http fetch POST 426 http://registry.npmjs.org/-/npm/v1/security/advisories/bulk 37ms
65 silly audit bulk request failed Beginning October 4, 2021, all connections to npm websites and the npm registry - including for package installation - must use HTTPS and TLS 1.2 or higher.
65 silly audit
65 silly audit For more information see this blog post: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
66 notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
67 http fetch POST 426 http://registry.npmjs.org/-/npm/v1/security/audits/quick 47ms
68 verbose audit error HttpErrorGeneral: 426 Upgrade Required - POST http://registry.npmjs.org/-/npm/v1/security/audits/quick
68 verbose audit error at /Users/mschumacher/code/node_modules/npm/node_modules/npm-registry-fetch/lib/check-response.js:95:15
68 verbose audit error at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
68 verbose audit error at async [getReport] (/Users/mschumacher/code/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:335:21)
68 verbose audit error at async AuditReport.run (/Users/mschumacher/code/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:106:19) {
68 verbose audit error headers: [Object: null prototype] {
68 verbose audit error date: [ 'Mon, 01 Jul 2024 17:42:27 GMT' ],
68 verbose audit error 'content-type': [ 'text/plain' ],
68 verbose audit error 'content-length': [ '271' ],
68 verbose audit error connection: [ 'keep-alive' ],
68 verbose audit error 'npm-notice': [
68 verbose audit error 'Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/'
68 verbose audit error ],
68 verbose audit error vary: [ 'Accept-Encoding' ],
68 verbose audit error server: [ 'cloudflare' ],
68 verbose audit error 'cf-ray': [ '89c8315469fabb8f-FRA' ],
68 verbose audit error 'cf-team': [ '2110fd28c30000bb8f2008e400000001' ],
68 verbose audit error 'x-fetch-attempts': [ '1' ]
68 verbose audit error },
68 verbose audit error statusCode: 426,
68 verbose audit error code: 'E426',
68 verbose audit error method: 'POST',
68 verbose audit error uri: 'http://registry.npmjs.org/-/npm/v1/security/audits/quick',
68 verbose audit error body: <Buffer 42 65 67 69 6e 6e 69 6e 67 20 4f 63 74 6f 62 65 72 20 34 2c 20 32 30 32 31 2c 20 61 6c 6c 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 20 74 6f 20 6e 70 6d 20 ... 221 more bytes>,
68 verbose audit error pkgid: undefined
68 verbose audit error }
69 silly audit error Beginning October 4, 2021, all connections to npm websites and the npm registry - including for package installation - must use HTTPS and TLS 1.2 or higher.
69 silly audit error
69 silly audit error For more information see this blog post: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/
70 timing auditReport:getReport Completed in 88ms
71 silly audit report null
72 timing reify:audit Completed in 88ms
73 http fetch GET 200 https://registry.npmjs.org/nuxi/-/nuxi-3.12.0.tgz 319ms (cache miss)
74 timing reifyNode:node_modules/nuxi Completed in 322ms
75 timing reify:unpack Completed in 322ms
76 timing reify:unretire Completed in 0ms
77 timing build:queue Completed in 1ms
78 timing build:link:node_modules/nuxi Completed in 1ms
79 timing build:link Completed in 1ms
80 timing build:deps Completed in 2ms
81 timing build Completed in 2ms
82 timing reify:build Completed in 2ms
83 timing reify:trash Completed in 0ms
84 timing reify:save Completed in 2ms
85 timing reify Completed in 497ms
86 timing command:exec Completed in 4295ms
87 verbose exit 1
88 timing npm Completed in 4450ms
89 verbose code 1
The text was updated successfully, but these errors were encountered: