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

on ubuntu getting error on update from 1.3.3 to 1.3.4 #6

Closed
KBYSHanahira opened this issue Aug 29, 2023 · 8 comments
Closed

on ubuntu getting error on update from 1.3.3 to 1.3.4 #6

KBYSHanahira opened this issue Aug 29, 2023 · 8 comments
Labels
bug Something isn't working fixed Bug is fixed

Comments

@KBYSHanahira
Copy link

image
image
image

IDK What happened , but i still work on 1.3.3

@ClipsByZenoX
Copy link

I also get the same error when I install the module on Windows 10.

@UnschooledGamer
Copy link
Member

UnschooledGamer commented Aug 29, 2023

I also get the same error when I install the module on Windows 10.

It is probably a warning not an error as much as I can see.

@ClipsByZenoX
Copy link

The problem is that it shows me these errors when I didn't have them before:

  <rejected> TypeError [ReqResourceType]: The resource must be a string, Buffer or a valid file stream.
      at DataResolver.resolveFile (/home/container/node_modules/discord.js/src/util/DataResolver.js:136:11)
      at MessagePayload.resolveFile (/home/container/node_modules/discord.js/src/structures/MessagePayload.js:258:54)
      at /home/container/node_modules/discord.js/src/structures/MessagePayload.js:223:85
      at Array.map (<anonymous>)
      at MessagePayload.resolveFiles (/home/container/node_modules/discord.js/src/structures/MessagePayload.js:223:56)
      at TextChannel.send (/home/container/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:161:50)
      at module.exports.run (/home/container/src/events/poruEvents/player/trackStart.js:92:10)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
    code: 'ReqResourceType'
  }
} TypeError [ReqResourceType]: The resource must be a string, Buffer or a valid file stream.
    at DataResolver.resolveFile (/home/container/node_modules/discord.js/src/util/DataResolver.js:136:11)
    at MessagePayload.resolveFile (/home/container/node_modules/discord.js/src/structures/MessagePayload.js:258:54)
    at /home/container/node_modules/discord.js/src/structures/MessagePayload.js:223:85
    at Array.map (<anonymous>)
    at MessagePayload.resolveFiles (/home/container/node_modules/discord.js/src/structures/MessagePayload.js:223:56)
    at TextChannel.send (/home/container/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:161:50)
    at module.exports.run (/home/container/src/events/poruEvents/player/trackStart.js:92:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ReqResourceType'
}
TypeError [ReqResourceType]: The resource must be a string, Buffer or a valid file stream.
    at DataResolver.resolveFile (/home/container/node_modules/discord.js/src/util/DataResolver.js:136:11)
    at MessagePayload.resolveFile (/home/container/node_modules/discord.js/src/structures/MessagePayload.js:258:54)
    at /home/container/node_modules/discord.js/src/structures/MessagePayload.js:223:85
    at Array.map (<anonymous>)
    at MessagePayload.resolveFiles (/home/container/node_modules/discord.js/src/structures/MessagePayload.js:223:56)
    at TextChannel.send (/home/container/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:161:50)
    at module.exports.run (/home/container/src/events/poruEvents/player/trackStart.js:92:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@flameface
Copy link
Member

@KBYSHanahira @ZenoXTV the issue is fixed in 1.3.5

@flameface flameface added bug Something isn't working fixed Bug is fixed labels Aug 29, 2023
@KBYSHanahira
Copy link
Author

@flam3face Thank a lot of for update <3
but i have new issue
musicard
the font is square box in version 1.3.5
idk what happend with my font file else or some thing

@UnschooledGamer
Copy link
Member

@flam3face Thank a lot of for update <3
but i have new issue
musicard
the font is square box in version 1.3.5
idk what happend with my font file else or some thing

Probably title has some special characters that the font can't render

@KBYSHanahira
Copy link
Author

i try change font in node_modules/musicard/build/index.js :
musicard

i try in microsoft word to test font :
image

and on version 1.3.3 font work :
image

also i will happy in 1.3.4 can use .webp to show picture work !!!
Cheers to @flam3face , you've done well. Thank you for always helping

@flameface
Copy link
Member

@KBYSHanahira i use same font in all version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Bug is fixed
Projects
None yet
Development

No branches or pull requests

4 participants