Code Monkey home page Code Monkey logo

s3-multipart-error's Introduction

How To

To Run

Install node modules

cd app
npm install

Set region and endpoint in SeaweedUploaderS3API.ts

and then to pack and run the app:

npx snowpack dev --polyfill-node

Current Bug

to fix: Uncaught SyntaxError: The requested module '/_snowpack/pkg/@aws-crypto.sha1-browser.v2.0.0.js' does not provide an export named 'Sha1' (at @aws-sdk.client-s3.v3.170.0.js:22:10)

Navigate to: \s3-multipart-error\app\node_modules\.cache\snowpack\build\@aws-crypto\[email protected]\@aws-crypto\sha1-browser.js

At the bottom of the file change:

export { Ie11Sha1, WebCryptoSha1, build as __moduleExports };

to:

export { Ie11Sha1, WebCryptoSha1 as Sha1, build as __moduleExports };

Do the same for Sha256 module in first @aws-crypto folder

s3-multipart-error's People

Contributors

jerebear12 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.