Lemons
Lemons
SIASapphire - Imagine a framework
Created by Lemons on 9/5/2024 in #sapphire-support
TypeError: Cannot convert undefined or null to object
Turns out it was caused by an override of an older package for discord-api-types I was using InteractionContextType in my commands structure which happened to exist only in version ^0.37.84 (while I had 0.37.20) The error was conducted by discordjs/builders package so it's not related to sapphire Thanks for the help and sorry for causing a fuss about this error :kannaHeart:
11 replies
SIASapphire - Imagine a framework
Created by Lemons on 9/5/2024 in #sapphire-support
TypeError: Cannot convert undefined or null to object
nope, I manually removed it firstly then installed it using npm install [email protected] and removed the ^ so it doesn't update it later on nope, it's coming from node modules which is why I'm confused about it I'll still try to check my code and see since it could be something else. I'll check and update you on this
11 replies
SIASapphire - Imagine a framework
Created by Lemons on 9/5/2024 in #sapphire-support
TypeError: Cannot convert undefined or null to object
but I highly doubt it's that since it was running perfectly fine before I updated the typescript package
11 replies
SIASapphire - Imagine a framework
Created by Lemons on 9/5/2024 in #sapphire-support
TypeError: Cannot convert undefined or null to object
and sadly it didn't work so I'll try to check whether it's for @discordjs/builders receiving wrong InteractionContextType or something
11 replies
SIASapphire - Imagine a framework
Created by Lemons on 9/5/2024 in #sapphire-support
TypeError: Cannot convert undefined or null to object
I'll try it when I get home
11 replies