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/[email protected]/mod.ts' or its corresponding type 
declarations.
   
   22 import { S3Client } from 'https://deno.land/x/[email protected]/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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to