jeffminsungkim / nestjs-multer-extended

💪 Extended MulterModule for NestJS with flexible S3 upload and helpful features
MIT License
203 stars 47 forks source link

Error with aws-sdk ConfigurationOptions #389

Closed hddananjaya closed 3 years ago

hddananjaya commented 3 years ago

Hi all, I'm using the lastest release which is 1,4.1. When I import MulterExtendedModule in app.module, I get this error? Any thoughts please?

node_modules/nestjs-multer-extended/dist/interfaces/multer-extended-s3-options.interface.d.ts:2:23 - error TS2459: Module '"aws-sdk/lib/config"' declares 'ConfigurationOptions' locally, but it is not exported.

2 import { APIVersions, ConfigurationOptions } from 'aws-sdk/lib/config';
                        ~~~~~~~~~~~~~~~~~~~~

  node_modules/aws-sdk/lib/config.d.ts:2:21
    2 import {ConfigBase, ConfigurationOptions} from './config-base';
                          ~~~~~~~~~~~~~~~~~~~~
    'ConfigurationOptions' is declared here.

[12:29:49 PM] Found 1 error. Watching for file changes.

Thanks!

hddananjaya commented 3 years ago

Thanks @newbish for #299. Closing.