Misskey: ドライブにファイルをアップロードできない

Created on 7 Jan 2020  ·  4Comments  ·  Source: syuilo/misskey

💡 Summary


https://github.com/syuilo/misskey/blob/90cfd87f4636d98ad83ec0ce1d28eaa51dca97f8/src/misc/detect-mine.ts#L12

[core] TypeError: fileType is not a function

たぶんfile-typeをアップデートしたから起きてる

🙂 Expected Behavior

☹️ Actual Behavior

📝 Steps to Reproduce

1.
2.
3.

📌 Environment


Misskey v11.37.0

⚙️Server 🐛Bug

Most helpful comment

ん、メジャーアップデートだった

All 4 comments

https://github.com/sindresorhus/file-type

Please be aware, the API recently changed to support smarter and more specialized methods to determine the file type.

使用方法が変わったぽい

なるほど
メジャーアップデートじゃないから油断してた…

ん、メジャーアップデートだった

メジャーアップデートだけどマイナーアップデートに見間違えてたのが原因でした

Was this page helpful?
0 / 5 - 0 ratings