Giter Club home page Giter Club logo

Comments (10)

Murderlon avatar Murderlon commented on June 8, 2024

Hi, do you mean pnpm install @uppy/core?

from uppy.

bhavesh2510 avatar bhavesh2510 commented on June 8, 2024

@Murderlon yes correct, basically a file called UploaderPlugin.js and UploderPlugin.js.map is missing from node modules

from uppy.

Murderlon avatar Murderlon commented on June 8, 2024

Are you sure you are on the latest versions? UploaderPlugin is something that was removed a very long time ago.

from uppy.

Murderlon avatar Murderlon commented on June 8, 2024

Here is what I see locally:

λ pnpm i @uppy/core 
Packages: +10
++++++++++
Progress: resolved 10, reused 0, downloaded 10, added 10, done

dependencies:
+ @uppy/core 3.11.2

Done in 3.9s

from uppy.

bhavesh2510 avatar bhavesh2510 commented on June 8, 2024

@Murderlon compare this with yarn

Yarn dependencies :
https://github.com/transloadit/uppy/assets/88138643/13a4de95-cdcf-484d-ba31-887b4868bc86

Pnpm dependencies :
In pnpm above two files will be missing

from uppy.

Murderlon avatar Murderlon commented on June 8, 2024

UploaderPlugin is not supposed to be there, it's has been removed more than a year ago, which means you are somehow using old versions with yarn. Without a way to reproduce this, I'm not sure what further help I can provide.

from uppy.

bhavesh2510 avatar bhavesh2510 commented on June 8, 2024

@Murderlon here are steps to reproduce

  1. pnpm install @uppy/core`
  2. check node_modules inside .pnpm
  3. find @uppy/core and there you will see files are not present
    Because of this project won't build

This doesn't happens with yarn, if plugin was removed not sure why it still comes with yarn
Here are uppy dependecies which i'm using
"@uppy/aws-s3": "^3.6.2",
"@uppy/core": "^3.11.2",
"@uppy/google-drive": "^3.2.0",
"@uppy/locales": "^3.2.4",
"@uppy/onedrive": "^3.3.1",
"@uppy/react": "^3.1.3",
"@uppy/tus": "^3.5.4",

from uppy.

Murderlon avatar Murderlon commented on June 8, 2024

Your output clearly says [email protected]. Upgrade to the latest versions and you won't see this error anymore.

from uppy.

bhavesh2510 avatar bhavesh2510 commented on June 8, 2024

I have tried that as well, it didn't worked, basically xhr-upload, and some other dependencies is trying to find missing file from uppy core
temporarily i have done patch fix and added missing files
Will it break in future?

from uppy.

Murderlon avatar Murderlon commented on June 8, 2024

Are you 100% sure that all your Uppy packages are on the latest version? Maybe you're lockfile is outdated. One of the plugins is referencing code that was published over a year ago, you have a big version mismatch somewhere. I wouldn't recommend patching this but upgrading.

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.