-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uppy 4.0.5 error #5358
Comments
Can you clarify if there are some steps that leads to that error? Bonus points if you're able to provide a full repro e.g. using https://stackblitz.com/edit/vitejs-vite-zaqyaf?file=main.js |
Thanks for the reference. The code snippet which we tried is below. It was working before june 2024, but due to new uppy packages, this functionality stopped working. import { Uppy } from '@uppy/core';
import AwsS3Multipart from '@uppy/aws-s3-multipart';
import { Dashboard } from 'uppy';
import { GoogleDrive } from 'uppy';
import OneDrive from '@uppy/onedrive';
import { Dropbox } from 'uppy';
import Url from '@uppy/url';
customFunction() {
this.uppy = new Uppy({
debug: true,
autoProceed: false,
onBeforeFileAdded: (currentFile, files) => {
//custom validation code here
}
})
.use(Dashboard, {
trigger: ".UppyModalOpenerBtn",
inline: true,
target: ".DashboardContainer",
replaceTargetContent: true
})
.use(GoogleDrive, { target: Dashboard, companionUrl: customUrl })
.use(Dropbox, { target: Dashboard, companionUrl: customUrl })
.use(Url, { target: Dashboard, companionUrl: customUrl })
.use(OneDrive, { target: Dashboard, companionUrl: customUrl })
.use(AwsS3Multipart, {
limit: 6,
companionUrl: customUrl,
});
this.uppy.on("complete", result => {
this.isFileUploading = true;
console.log("successful files:", result.successful);
console.log("failed files:", result.failed);
});
} Our system has Angular 15, can we use updated uppy dependencies in this without upgrading Angular to the latest? |
Any update on this? |
I am also facing the similar issue. Is there any update on this? |
As mentioned in the migration guide, you are using https://uppy.io/docs/guides/migration-guides/#uppyaws-s3-and-uppyaws-s3-multipart |
Initial checklist
Link to runnable example
No response
Steps to reproduce
Upgrade to latest uppy dependencies
Expected behavior
It should work fine
Actual behavior
We tried to run with the updated version**(4.0.5)** but found the following errors -
Our code has these dependencies -
we tried to run this code with Angular 17 but on runtime, we got the error.
One more question - Our system has Angular 15, can we use updated uppy dependencies in this without upgrading Angular to the latest?
The text was updated successfully, but these errors were encountered: