Skip to content
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

We can't upload svg files now #29

Open
shiqimei opened this issue Apr 3, 2023 · 0 comments
Open

We can't upload svg files now #29

shiqimei opened this issue Apr 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@shiqimei
Copy link
Contributor

shiqimei commented Apr 3, 2023

react_devtools_backend.js:2655 
r {isClientSafe: true, error: 500, reason: '[FilesCollection] [insert] Insert method accepts F… property, and its size must be larger than zero.', details: undefined, message: '[FilesCollection] [insert] Insert method accepts F…rty, and its size must be larger than zero. [500]', …}
details
: 
undefined
error
: 
500
errorType
: 
"Meteor.Error"
isClientSafe
: 
true
message
: 
"[FilesCollection] [insert] Insert method accepts File, not a FileList. You need to provide a real File. File must have `.name` property, and its size must be larger than zero. [500]"
reason
: 
"[FilesCollection] [insert] Insert method accepts File, not a FileList. You need to provide a real File. File must have `.name` property, and its size must be larger than zero."
stack
: 
"Error: [FilesCollection] [insert] Insert method accepts File, not a FileList. You need to provide a real File. File must have `.name` property, and its size must be larger than zero. [500]\n    at new b (https://markboard.io/2197b2c2f8831006548925bc97adc62ba43cc103.js?meteor_js_resource=true:307:20409)\n    at p.insert (https://markboard.io/2197b2c2f8831006548925bc97adc62ba43cc103.js?meteor_js_resource=true:307:5278)\n    at eval (/imports/services/client/files.ts:1:122)\n    at new Promise (<anonymous>)\n    at l (/imports/services/client/files.ts:1:91)\n    at eval (/imports/excalidraw/components/ExcalidrawCore.tsx:1:47231)\n    at new Promise (<anonymous>)\n    at Vs.initializeImage (/imports/excalidraw/components/ExcalidrawCore.tsx:1:47126)\n    at async Vs.insertImageElement (/imports/excalidraw/components/ExcalidrawCore.tsx:1:47822)"
[[Prototype]]
: 
Error
@shiqimei shiqimei added the bug Something isn't working label Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant