You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2023/03/31 04:45:32 UTC

[GitHub] [incubator-opendal] Xuanwo opened a new issue, #1818: nodejs bindings docs build failed

Xuanwo opened a new issue, #1818:
URL: https://github.com/apache/incubator-opendal/issues/1818

   https://github.com/apache/incubator-opendal/actions/runs/4571538847/jobs/8069937515
   
   ```shell
   benchmark/deno.ts:20:26 - error TS2307: Cannot find module 'npm:opendal' or its corresponding type declarations.
   
   20 import { Operator } from 'npm:opendal'
                               ~~~~~~~~~~~~~
   
   benchmark/deno.ts:22:26 - error TS2307: Cannot find module 'https://deno.land/x/s3_lite_client@0.5.0/mod.ts' or its corresponding type declarations.
   
   22 import { S3Client } from 'https://deno.land/x/s3_lite_client@0.5.0/mod.ts'
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   
   benchmark/deno.ts:24:18 - error TS2304: Cannot find name 'Deno'.
   
   24 const endpoint = Deno.env.get('AWS_S3_ENDPOINT') || 'http://localhost:9000'
                       ~~~~
   
   benchmark/deno.ts:28:16 - error TS2304: Cannot find name 'Deno'.
   
   28 const bucket = Deno.env.get('AWS_BUCKET') || 'benchmark'
                     ~~~~
   
   benchmark/deno.ts:34:11 - error TS2304: Cannot find name 'Deno'.
   
   34   region: Deno.env.get('AWS_REGION') || 'us-east-1',
                ~~~~
   
   benchmark/deno.ts:36:14 - error TS2304: Cannot find name 'Deno'.
   
   36   accessKey: Deno.env.get('AWS_ACCESS_KEY_ID'),
                   ~~~~
   
   benchmark/deno.ts:37:14 - error TS2304: Cannot find name 'Deno'.
   
   37   secretKey: Deno.env.get('AWS_SECRET_ACCESS_KEY'),
                   ~~~~
   
   benchmark/deno.ts:66:18 - error TS[13](https://github.com/apache/incubator-opendal/actions/runs/4571538847/jobs/8069937515#step:12:14)78: Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node[16](https://github.com/apache/incubator-opendal/actions/runs/4571538847/jobs/8069937515#step:12:17)', or 'nodenext', and the 'target' option is set to 'es2017' or higher.
   
   66 const filenams = await Promise.all(
                       ~~~~~
   
   benchmark/deno.ts:74:3 - error TS2304: Cannot find name 'Deno'.
   
   74   Deno.bench(
        ~~~~
   
   benchmark/deno.ts:83:3 - error TS2304: Cannot find name 'Deno'.
   
   83   Deno.bench(
        ~~~~
   
   benchmark/deno.ts:95:3 - error TS[23](https://github.com/apache/incubator-opendal/actions/runs/4571538847/jobs/8069937515#step:12:24)04: Cannot find name 'Deno'.
   
   95   Deno.bench(
        ~~~~
   
   benchmark/deno.ts:105:3 - error TS2304: Cannot find name 'Deno'.
   
   105   Deno.bench(
         ~~~~
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo commented on issue #1818: nodejs bindings docs build failed

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #1818:
URL: https://github.com/apache/incubator-opendal/issues/1818#issuecomment-1491281131

   cc @suyanhanx, do you wanna to take a look?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] suyanhanx commented on issue #1818: nodejs bindings docs build failed

Posted by "suyanhanx (via GitHub)" <gi...@apache.org>.
suyanhanx commented on issue #1818:
URL: https://github.com/apache/incubator-opendal/issues/1818#issuecomment-1491281647

   I'll handle it.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo closed issue #1818: nodejs bindings docs build failed

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #1818: nodejs bindings docs build failed
URL: https://github.com/apache/incubator-opendal/issues/1818


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org