Coder Social home page Coder Social logo

Comments (5)

abdirahmn1 avatar abdirahmn1 commented on June 8, 2024 2

am also getting this bug when i updated my dependencies, here's the error am getting

@uppy_react.js?v=2d0e0440:5965 Uncaught (in promise) TypeError: (0 , import_prettier_bytes2.default) is not a function
    at renderFileSize (@uppy_react.js?v=2d0e0440:5965:39)
    at b.FileInfo [as constructor] (@uppy_react.js?v=2d0e0440:6003:27)
    at b.q [as render] (chunk-UWOWK7CM.js?v=2d0e0440:2822:15)
    at M (chunk-UWOWK7CM.js?v=2d0e0440:2742:51)
    at P (chunk-UWOWK7CM.js?v=2d0e0440:2619:143)
    at z (chunk-UWOWK7CM.js?v=2d0e0440:2791:41)
    at M (chunk-UWOWK7CM.js?v=2d0e0440:2749:87)
    at P (chunk-UWOWK7CM.js?v=2d0e0440:2619:143)
    at z (chunk-UWOWK7CM.js?v=2d0e0440:2791:41)
    at M (chunk-UWOWK7CM.js?v=2d0e0440:2749:87)

am glad i didn't push this into prod! 😄

from uppy.

abdirahmn1 avatar abdirahmn1 commented on June 8, 2024 1

my last working version was this

                                       current     wanted      latest
@uppy/compressor                       1.0.5       1.1.0       1.1.0  node_modules/@uppy/compressor
@uppy/core                             3.8.0       3.9.0       3.9.0  node_modules/@uppy/core
@uppy/dashboard                        3.7.1       3.7.2       3.7.2  node_modules/@uppy/dashboard
@uppy/image-editor                     2.4.0       2.4.1       2.4.1  node_modules/@uppy/image-editor
@uppy/transloadit                      3.4.0       3.5.0       3.5.0  node_modules/@uppy/transloadit
@uppy/webcam                           3.3.4       3.3.5       3.3.5  node_modules/@uppy/webcam    

That was the output from npm outdated before i proceeded with npm update

here's what it looks like when you drop a file 👀

uppy-dash-error

from uppy.

dzcpy avatar dzcpy commented on June 8, 2024 1

What bundler do you use? I can't seem to reproduce with Vite.

vite
https://github.com/dzcpy/uppy-bug

You can reproduce it here:
https://codesandbox.io/p/github/dzcpy/uppy-bug/main

from uppy.

dzcpy avatar dzcpy commented on June 8, 2024

am also getting this bug when i updated my dependencies, here's the error am getting

@uppy_react.js?v=2d0e0440:5965 Uncaught (in promise) TypeError: (0 , import_prettier_bytes2.default) is not a function
    at renderFileSize (@uppy_react.js?v=2d0e0440:5965:39)
    at b.FileInfo [as constructor] (@uppy_react.js?v=2d0e0440:6003:27)
    at b.q [as render] (chunk-UWOWK7CM.js?v=2d0e0440:2822:15)
    at M (chunk-UWOWK7CM.js?v=2d0e0440:2742:51)
    at P (chunk-UWOWK7CM.js?v=2d0e0440:2619:143)
    at z (chunk-UWOWK7CM.js?v=2d0e0440:2791:41)
    at M (chunk-UWOWK7CM.js?v=2d0e0440:2749:87)
    at P (chunk-UWOWK7CM.js?v=2d0e0440:2619:143)
    at z (chunk-UWOWK7CM.js?v=2d0e0440:2791:41)
    at M (chunk-UWOWK7CM.js?v=2d0e0440:2749:87)

am glad i didn't push this into prod! 😄

Me too, after upgrading dependencies, it broke. What is your last working version?

from uppy.

aduh95 avatar aduh95 commented on June 8, 2024

What bundler do you use? I can't seem to reproduce with Vite.

from uppy.

Related Issues (20)

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.