Syncxv / vc-message-logger-enhanced

GNU General Public License v3.0
91 stars 11 forks source link

Building Vencord with message logger gives a no matching export error #18

Closed ChaoticBuilder closed 6 months ago

ChaoticBuilder commented 6 months ago

I was trying to build Vencord, but when I built it with pnpm, it gave me this error.

Build failed with 1 error: src/userplugins/vc-message-logger-enhanced/components/LogsModal.tsx:24:39: ERROR: No matching export in "src/webpack/common/index.ts" for import "ContextMenu"

does anyone know why this is? I haven't had this issue before.

Syncxv commented 6 months ago

this was fixed a looong time ago. update message logger.

https://github.com/Syncxv/vc-message-logger-enhanced/assets/47534062/31be3fcb-71db-4714-9d94-99b340371e96

ChaoticBuilder commented 6 months ago

So I tried out the method you suggested, and the plugin shows up in Discord, but now there's another issue whenever I open the logs folder, it just crashes Vencord, and message edits are not showing in chat.

Syncxv commented 6 months ago

the crash happens because canary changed from moment.js dates to normal dates.

ive pushed a hot fix 4991a77, so update 1 more time (like the video i sent)