Skip to content

We can't upload svg files now #29

@shiqimei

Description

@shiqimei
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions