DanielHindi / aws-s3-zipper

takes an amazon s3 bucket folder and zips it for streaming or serializes to a file
119 stars 74 forks source link

Hitting this error: (.d.ts) file containing `declare module 'aws-s3-zipper' ? #37

Open josoroma-zz opened 5 years ago

josoroma-zz commented 5 years ago

Hi!

I am hitting this error:

Could not find a declaration file for module 'aws-s3-zipper'. '...node_modules/aws-s3-zipper/index.js' implicitly has an 'any' type.

  Try `npm install @types/aws-s3-zipper` if it exists or add a new declaration (.d.ts) file containing `declare module 'aws-s3-zipper';`

then I ran:

yarn add --dev @types/aws-s3-zipper

...

error An unexpected error occurred: "https://registry.yarnpkg.com/@types%2faws-s3-zipper: Not found".

I was wondering... Do we need to add something to the package.json file in order to prevent this error?