Noxillio
Noxillio
Explore posts from servers
SIASapphire - Imagine a framework
Created by Noxillio on 12/18/2023 in #sapphire-support
'api' does not exist in type 'ClientOptions'.
I'm not able to specify API-related options because I get this: Object literal may only specify known properties, and 'api' does not exist in type 'ClientOptions'.
6 replies
SIASapphire - Imagine a framework
Created by Noxillio on 11/24/2023 in #sapphire-support
Application Commands are not being registered when bot restarts.
I have an auto-update mechanism built into my bot so I don't have to reupload to the host every time I push a new build, and it appears that whenever the app restarts (using process.exit() and then Pterodactyl starts it back up), my application commands are not re-registered. There is no error in console indicating an issue and restarting forcefully (using Restart button in Pterodactyl) does not cause the issue to occur. Would anyone have some pointers for me to help figure out why this is happening?
5 replies
SIASapphire - Imagine a framework
Created by Noxillio on 9/16/2023 in #sapphire-support
error command sh -c node-pre-gyp install --fallback-to-build
When attempting to run npm i after cloning my bot repo, I get this error. I am currently using Ubuntu 22.04 (LTS) and Node.js 18.17.1 (LTS). This is a fresh install. Below are the relevant logs. https://pastebin.com/2Q3WPWQf
57 replies
SIASapphire - Imagine a framework
Created by Noxillio on 7/19/2023 in #sapphire-support
Production mode?
I'm having issues disabling the DEVELOPMENT MODE. .env doesn't allow setting NODE_ENV and it doesn't work based on the name of the .env file. I've also tried using MODE per a Stack Overflow thread I found but that didn't work either. Is there not a solution where I just copy the built files over and change a setting somewhere?
20 replies
SIASapphire - Imagine a framework
Created by Noxillio on 5/27/2023 in #sapphire-support
Cannot find node_modules/@sapphire/type/prebuild/type-node-v115-linux-x64-glibc-2.37/type.node
Bot generated using the Complete Template from the CLI, getting this error. Not sure what it means or what to do. Error occurs when loading the eval command shipped with the template. https://pastebin.com/i2rwjzYV
7 replies