deno
deno copied to clipboard
`deno run -A npm:create-hono@latest` doesn't exit after creating
Version: Deno 2.0.2
I ran deno run --log-level=debug -A npm:create-hono@latest
, while the template is created, the application never exits. Here is a debug output
$ deno run --log-level=debug -A npm:create-hono@latest
DEBUG RS - deno::args:623 - No .npmrc file found
DEBUG RS - deno::args:930 - Finished config loading.
DEBUG RS - deno::cache::cache_db:168 - Opening cache /home/akshay/.cache/deno/dep_analysis_cache_v2...
DEBUG RS - deno::cache::cache_db:168 - Opening cache /home/akshay/.cache/deno/node_analysis_cache_v2...
DEBUG RS - deno::cache::cache_db:168 - Opening cache /home/akshay/.cache/deno/v8_code_cache_v2...
DEBUG RS - deno::npm::managed::resolution:282 - Running npm resolution.
DEBUG RS - deno_npm::resolution::graph:932 - <package-req> - Resolved create-hono@latest to [email protected]
DEBUG RS - deno::npm::managed:324 - Resolved package folder of [email protected] to /home/akshay/.cache/deno/npm/registry.npmjs.org/create-hono/0.14.1
DEBUG RS - deno::js:10 - Deno isolate init with snapshots.
DEBUG RS - deno::worker:186 - main_module file:///home/akshay/.cache/deno/npm/registry.npmjs.org/create-hono/0.14.1/bin
DEBUG RS - deno_runtime::worker:529 - Updating V8 code cache for script: file:///home/akshay/.cache/deno/npm/registry.npmjs.org/create-hono/0.14.1/bin, [16424317911244797316]
create-hono version 0.14.1
? Target directory my-app
? Which template do you want to use? deno
⠋ Cloning the templateDEBUG RS - hyper_util::client::legacy::connect::dns:122 - resolving host="api.github.com"
DEBUG RS - hyper_util::client::legacy::connect::http:643 - connecting to 140.82.114.5:443
⠴ Cloning the templateDEBUG RS - hyper_util::client::legacy::connect::http:646 - connected to 140.82.114.5:443
⠙ Cloning the templateDEBUG RS - h2::client:1281 - binding client connection
DEBUG RS - h2::client:1286 - client connection bound
DEBUG RS - h2::codec::framed_write:213 - send frame=Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384, max_header_list_size: 16384 }
DEBUG RS - h2::proto::connection:138 - Connection; peer=Client
DEBUG RS - hyper_util::client::legacy::pool:396 - pooling idle connection for ("https", api.github.com)
DEBUG RS - h2::codec::framed_write:213 - send frame=WindowUpdate { stream_id: StreamId(0), size_increment: 5177345 }
DEBUG RS - h2::codec::framed_write:213 - send frame=Headers { stream_id: StreamId(1), flags: (0x5: END_HEADERS | END_STREAM) }
⠸ Cloning the templateDEBUG RS - h2::codec::framed_read:405 - received frame=Settings { flags: (0x0), max_concurrent_streams: 100, initial_window_size: 67108864, max_frame_size: 68608, enable_connect_protocol: 1 }
DEBUG RS - h2::codec::framed_write:213 - send frame=Settings { flags: (0x1: ACK) }
DEBUG RS - h2::codec::framed_read:405 - received frame=Settings { flags: (0x1: ACK) }
DEBUG RS - h2::proto::settings:56 - received settings ACK; applying Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384, max_header_list_size: 16384 }
DEBUG RS - h2::codec::framed_read:405 - received frame=Headers { stream_id: StreamId(1), flags: (0x5: END_HEADERS | END_STREAM) }
DEBUG RS - hyper_util::client::legacy::connect::dns:122 - resolving host="codeload.github.com"
DEBUG RS - hyper_util::client::legacy::connect::http:643 - connecting to 4.237.22.35:443
⠼ Cloning the templateDEBUG RS - hyper_util::client::legacy::connect::http:646 - connected to 4.237.22.35:443
DEBUG RS - h2::client:1281 - binding client connection
DEBUG RS - h2::client:1286 - client connection bound
DEBUG RS - h2::codec::framed_write:213 - send frame=Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384, max_header_list_size: 16384 }
DEBUG RS - h2::proto::connection:138 - Connection; peer=Client
DEBUG RS - hyper_util::client::legacy::pool:396 - pooling idle connection for ("https", codeload.github.com)
DEBUG RS - h2::codec::framed_write:213 - send frame=WindowUpdate { stream_id: StreamId(0), size_increment: 5177345 }
DEBUG RS - h2::codec::framed_write:213 - send frame=Headers { stream_id: StreamId(1), flags: (0x5: END_HEADERS | END_STREAM) }
⠦ Cloning the templateDEBUG RS - h2::codec::framed_read:405 - received frame=Settings { flags: (0x0), max_concurrent_streams: 100, initial_window_size: 67108864, max_frame_size: 68608, enable_connect_protocol: 1 }
DEBUG RS - h2::codec::framed_write:213 - send frame=Settings { flags: (0x1: ACK) }
DEBUG RS - h2::codec::framed_read:405 - received frame=Settings { flags: (0x1: ACK) }
DEBUG RS - h2::proto::settings:56 - received settings ACK; applying Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384, max_header_list_size: 16384 }
⠙ Cloning the templateDEBUG RS - h2::codec::framed_read:405 - received frame=Headers { stream_id: StreamId(1), flags: (0x5: END_HEADERS | END_STREAM) }
✔ Cloning the template
DEBUG RS - h2::codec::framed_read:405 - received frame=GoAway { error_code: NO_ERROR, last_stream_id: StreamId(1) }
DEBUG RS - h2::codec::framed_read:405 - received frame=GoAway { error_code: NO_ERROR, last_stream_id: StreamId(1) }
Seems to be working fine with npm
$ npm create hono@latest
Need to install the following packages:
[email protected]
Ok to proceed? (y)
> npx
> create-hono
create-hono version 0.14.1
? Target directory my-app
? Which template do you want to use? deno
✔ Cloning the template
npm notice
npm notice New minor version of npm available! 10.8.0 -> 10.9.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.0
npm notice To update run: npm install -g [email protected]
npm notice