Comments (12)
Note that it's impossible to override versions on npm, so making a "mistake with old versions" can't be the case.
Uppy is ESM-only, as is p-queue
, so it might be a bundler issue with meteorjs?
from uppy.
I'll talk to the team to see if something when wrong with versioning here.
from uppy.
EventManager
is back in utils
so if it resolved to the latest in your build then everything should be fine.
from uppy.
I can't reproduce here on the latest versions: https://codesandbox.io/p/sandbox/uppy-dashboard-xpxuhd?file=%2Fsrc%2Findex.js%3A28%2C23
Do you have a reproducible example on CodeSandbox or StackBlitz?
from uppy.
i dont have an example right now, also we cant use latest version because of p-queue issue (it doesnt work with meteorjs, #4637), only working version was 3.3.1, without any change about uppy, our build started to throw error. Possibly you made a mistake with old versions.
from uppy.
ok we found the solution,
we didnt have @uppy/utils in package.json, so it was using the latest version of it, we added it then we got another error about aws-s3-multipart, same thing we didnt have it in package.json even we dont use it, then we added it to package.json with the compatible version, it fixed.
sorry for taking your time.
from uppy.
You shouldn't put @uppy/utils
in your package.json, it's an internal-only package and all packages that need it have it in their dependencies already.
Trying to manually resolve our internal dependencies will give you more problems sooner or later, it's probably better to look into your bundler.
from uppy.
but when we dont put it, it uses latest version of it and latest version of utils is not compatible with our 3.3.1 core version
from uppy.
Hi Murderlon, I work with Okkan. If we don't put the @uppy/utils in our package file then utils/EventManager.js contains this line of code which references a file that does not exist in 3.3.1 core.
export { default } from '@uppy/core/lib/EventManager.js'
from uppy.
Our policy for breaking changes considers features/fixes which require changes across multiple packages to work not breaking. That means you should always upgrade packages together, not separately. You should either pin all the versions that work for you and stay on there or always upgrade packages together. You can't pin core
and then keep installing newer versions of the other packages.
If you must, it's probably better to use overrides
for npm or resolutions
for yarn.
from uppy.
we didnt update or upgrade any package of uppy, you made a change in uppy/utils and it doesnt work with 3.3.1 so we had to put its an old version to package.json.
from uppy.
Thank you. This solved the issue.
from uppy.
Related Issues (20)
- Uploading additional batches with Transloadit is broken `allowMultipleUploadBatches: true` HOT 1
- Plugin link is broken in Readme HOT 2
- Add custom button to add bufferArray or file from external source HOT 1
- Uppy (4.1) does not work on a new Sveltekit (2.5.22) project HOT 1
- Update the Image Editor UI
- Removed the resume button for the Golden Retriever Plugin in Uppy
- Indicate that @uppy/react exports DashboardModal in the docs
- Golden Retriever documentation is incorrect. HOT 1
- UI appears stuck when pressing Import/upload button
- type ImageEditorOptions can't be imported HOT 3
- Resume/Pause functionality breaks with S3 when adding a prefix to the key HOT 3
- Webcam recordings freeze on latest Chromium HOT 1
- Consistent Companion error API HOT 2
- response undefined in `.on('upload-error', (file, error, response) => ...)` HOT 2
- "@uppy/svelte": "4.0.1" crashes Dashboard HOT 1
- @uppy/tus: add response to upload-success HOT 6
- Allow `Access-Control-Allow-Origin` header
- legacy uppy is not supported starting V4.0.0 HOT 6
- RequestClient (companion-client) doesn't support retry mechanism customization
- Instagram API Deprecation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uppy.