Closed klalex closed 3 years ago
It looks like it's due to aws-sdk type export breaking change. https://github.com/aws/aws-sdk-js/issues/3453 As of now(official latest v2.772.0), I force my app to use the older version(like v2.734.0 worked for me) by specifying "resolutions" in package.json.
Hey I created a temp fork for this for my personal use (I had a build to run), but all you have to do is change
import { APIVersions,ConfigurationOptions } from 'aws-sdk/lib/config';
to
import { APIVersions } from 'aws-sdk/lib/config'; import { ConfigurationOptions } from 'aws-sdk/lib/config-base';
in your multer-extended-s3-options.interface.ts
cheers
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time. Has this issue been fixed, or does it still require the community's attention?
This issue will be closed in 15 days if no further activity occurs. Thank you for your contributions.
I got the same issue today
"nestjs-multer-extended": "^1.4.1",
"aws-sdk": "^2.805.0",
any update on this issue yet?
Hello wave, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time. Has this issue been fixed, or does it still require the community's attention?
This issue will be closed in 15 days if no further activity occurs. Thank you for your contributions.
this isn't fixed yet. I got same error today when I installed the plugin.
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time. Has this issue been fixed, or does it still require the community's attention?
This issue will be closed in 15 days if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information.
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.
Found 1 error(s).
not solution is error, persists
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';
Found 1 error(s).