Questions tagged [uppy]

A full-featured file uploader for webbrowsers that supports tus

Sleek, modular open source JavaScript file uploader.

Uppy fetches files locally and from remote places like Dropbox or Instagram. With its seamless integration, reliability and ease of use, Uppy is truly your best friend in file uploading.

95 questions
2
votes
1 answer

How to pass meta data using Uppy's Dashboard plugin

I'm a beginner when it comes to using Uppy. I'm sure that this can be resolved by pros like you. But I am having trouble sending specific meta data information to my upload route. uppy.js // Import the plugins const Uppy =…
Julio Sandoval
  • 103
  • 1
  • 12
2
votes
1 answer

Uppy + tus uploads to Vimeo won't resume and are always restarting

I have the class below based on the code found at https://github.com/transloadit/uppy-vimeo-thing/blob/master/Vimeo.js. Resuming an upload doesn't work, it always restarts upload from scratch. If I remove uploadUrl from the Tus options and set the…
Michael
  • 105
  • 1
  • 6
2
votes
1 answer

File upload with Multer and Uppy

I'm using Uppy as my drag and drop file upload, but as we all know that Uppy doesn't take care of actually uploading it to the server. Therefore, I am using Multer as my back-end for uploading files to my server. Though, I ran into a snag. When I…
Julio Sandoval
  • 103
  • 1
  • 12
2
votes
2 answers

How to add custom post fields in Uppy XHR request?

Used Uppy XHR Upload. Docs: https://uppy.io/docs/xhr-upload/ How to add custom post fields in Uppy XHR request? My params are: endpoint: '/?test1=test2', formData: true, method: 'post', fieldName: 'files[]', // metaFields: [{ cmd: 'test1', name2:…
Anton
  • 59
  • 6
2
votes
0 answers

Uppy control remove uploaded file when state is change

When i try to upload file using Uppy control with reactJS i have some issues. First time i upload the file it is disappear. If state is not maintain then its working fine. But i need to set state if the file type is '.xlsx' or '.pdf' Please…
2
votes
1 answer

How prefill/preload images in uppy.io library

I have an article post service, which has an upload form with uppy.io Everything works great, but I need to edit those articles and their linked images. How can I prefill already uploaded images to the uppy.io DashBoard? My actual code:
Erich García
  • 1,648
  • 21
  • 30
1
vote
0 answers

How to fix "Module not found: Can't resolve 'p-queue' in 'node_modules\@uppy\provider-views\lib\ProviderView'"?

I'm currently using Node version of v18.16.1 and in my one of the recent projects I've been facing below issue. ./node_modules/@uppy/provider-views/lib/ProviderView/ProviderView.js Module not found: Can't resolve 'p-queue' in 'D:\WORK…
Sathya Molagoda
  • 531
  • 1
  • 6
  • 17
1
vote
0 answers

Uppy Dashboard - disableLocalFiles: true with Webcam enabled - hides the camera option on iOS while it still shows on desktop chrome

Link to runnable example https://codepen.io/jakemcallister-the-reactor/pen/jOemvbV Steps to reproduce A basic example with with disableLocalFiles set to true.
Jake McAllister
  • 1,037
  • 3
  • 12
  • 29
1
vote
1 answer

Loading uppy with Rails 7 and stimulus and importmaps

Is it doable to load Uppy into a vanilla Rails app via the Rails 7 importmaps? If you end up pinning @uppy/core, you get a lot of dependencies added to your importmap file: bin/importmap pin @uppy/core ...but when you try to access it via a…
1
vote
0 answers

Jest encountered an unexpected token with React/pnpm

`/Users/mac/Desktop/project/node_modules/.pnpm/@uppy+core@3.0.4/node_modules/@uppy/core/lib/index.js:1 ({"Object.":function(module,exports,require,__dirname,__filename,jest){export { default } from './Uppy.js'; ^^^^^^ SyntaxError: Unexpected token…
GuoHao Jin
  • 21
  • 3
1
vote
0 answers

Styles imported from node_modules do not work on Vercel (but work on local environment)

I am importing Uppy styles in my component. In the local environment styles are successfully loaded from Uppy module. But when app is deployed to Vercel then the CSS files are not loaded. What am I missing? import Uppy from "@uppy/core"; import {…
Primoz Rome
  • 10,379
  • 17
  • 76
  • 108
1
vote
1 answer

Companion Uppy always fails with > 5GB uploads when getting the /complete request

companion: 2022-09-22T23:31:07.088Z [error] a62da431-f9ce-4fae-b18d-dc59189a53ea root.error PayloadTooLargeError: request entity too large at readStream (/usr/local/share/.config/yarn/global/node_modules/raw-body/index.js:155:17) at…
JasonGenX
  • 4,952
  • 27
  • 106
  • 198
1
vote
1 answer

Django getting error exceptions must derive from BaseException

Info: I want to upload files using Uppy in frontend and django-tus as backend for file processing. I am getting error TypeError: exceptions must derive from BaseException. Traceback Internal Server Error:…
afi
  • 573
  • 4
  • 18
1
vote
0 answers

How can I send the modified name for the file uploaded via Uppy?

I can modify the name of the file and it will show it in the console. How can I send this name to the server so the server can use the name? It shows in the console that the files have the updated names, but I cannot get it to send the updated names…
user1605822
  • 99
  • 3
  • 14
1
vote
0 answers

Using Uppy in TypeScript Webcomponent

I'm trying to integrate uppy into a webcomponent. I created a fresh typescript project using @open-wc: npm init @open-wc --destinationPath C:\service-ui --type scaffold --scaffoldType app --features --typescript true --tagName service-ui…
samjaf
  • 1,033
  • 1
  • 9
  • 19