deno
deno copied to clipboard
Panic with npm:@aws-sdk/client-s3
export { GetObjectCommand, ListObjectsCommand, S3Client } from "npm:@aws-sdk/[email protected]";
Platform: linux x86_64
Version: 1.43.3
Args: ["deno", "run", "--allow-all", "./src/main.ts"]
thread 'main' panicked at cli/napi/js_native_api.rs:1922:6:
called `Option::unwrap()` on a `None` value
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::panicking::panic
3: core::option::unwrap_failed
4: napi_get_named_property
5: s_threadsafe_log_create
6: aws_napi_logger_new
7: napi_register_module_v1
8: deno_napi::op_napi_open::op_napi_open<NP>::v8_fn_ptr
9: Builtins_CallApiCallbackGeneric
Updating to npm:@aws-sdk/[email protected] and adding missing credentials in new S3Client() seem to have fixed the issue. Feel free to close if this is not helpful.
This should be fixed in https://github.com/denoland/deno/pull/24101, let us know if you run into any other issues.