如何使用cognito凭据将aws s3与nativescript连接?

如何使用cognito凭据将aws s3与nativescript连接?,nativescript,nativescript-angular,Nativescript,Nativescript Angular,我试着从“AWS sdk”将模块导入为AWS 但是显示出错误 “未找到模块:错误:无法解析中的‘发射器’。” 'C:\Users\Desktop\TLC\TLC\u Hybrid\node\u modules\stream' @../node_modules/stream/index.js 22:14-32 @../node_modules/aws sdk/lib/node_loader.js @../node_modules/aws sdk/lib/aws.js @./post/post.co

我试着从“AWS sdk”将模块导入为AWS

但是显示出错误 “未找到模块:错误:无法解析中的‘发射器’。” 'C:\Users\Desktop\TLC\TLC\u Hybrid\node\u modules\stream' @../node_modules/stream/index.js 22:14-32 @../node_modules/aws sdk/lib/node_loader.js @../node_modules/aws sdk/lib/aws.js @./post/post.component.ts @./app.module.ts

  • 列表项

     @ ./main.ts
     Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\hiberfil.sys'
     Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\pagefile.sys'
     Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\swapfile.sys'"
    

  • 您好,我想aws sdk应该用于像nodejs这样的后端框架中,因为您在错误中提到它正在查找事件发射器和事件,这与nodejs相关。