tropic
tropic
Explore posts from servers
SIASapphire - Imagine a framework
Created by tropic on 3/11/2023 in #sapphire-support
Hey what is DEVELOPMENT MODE and how do I disable it
I tried setting the Node_Env to something else but it did not change it in the console
7 replies
SIASapphire - Imagine a framework
Created by tropic on 3/8/2023 in #sapphire-support
Unable to get member data from users that have left / kicked
Hi, I am trying to get data from members who have left the discord server or have been kicked. But I keep getting undefined errors and I am unsure why here is my code. This only happen in sapphire
@ApplyOptions<Listener.Options>({ event: Events.GuildMemberRemove, name: 'Handle Guild Member Kick/Leave' })
export class MemberRemove extends Listener {
public async run(guild: Guild, member: PartialGuildMember) {
console.log(member); }
}
@ApplyOptions<Listener.Options>({ event: Events.GuildMemberRemove, name: 'Handle Guild Member Kick/Leave' })
export class MemberRemove extends Listener {
public async run(guild: Guild, member: PartialGuildMember) {
console.log(member); }
}
12 replies
SIASapphire - Imagine a framework
Created by tropic on 1/19/2023 in #sapphire-support
Hi I am getting a permissions error when trying to run docker-compose up
THis is the error that I am getting
Attaching to bot_botler-dev_1
botler-dev_1 |
botler-dev_1 | > [email protected] predocker:watch
botler-dev_1 | > npm install
botler-dev_1 |
botler-dev_1 | npm ERR! code EACCES
botler-dev_1 | npm ERR! syscall mkdir
botler-dev_1 | npm ERR! path /opt/app/node_modules
botler-dev_1 | npm ERR! errno -13
botler-dev_1 | npm ERR! Error: EACCES: permission denied, mkdir '/opt/app/node_modules'
botler-dev_1 | npm ERR! [Error: EACCES: permission denied, mkdir '/opt/app/node_modules'] {
botler-dev_1 | npm ERR! errno: -13,
botler-dev_1 | npm ERR! code: 'EACCES',
botler-dev_1 | npm ERR! syscall: 'mkdir',
botler-dev_1 | npm ERR! path: '/opt/app/node_modules'
botler-dev_1 | npm ERR! }
botler-dev_1 | npm ERR!
botler-dev_1 | npm ERR! The operation was rejected by your operating system.
botler-dev_1 | npm ERR! It is likely you do not have the permissions to access this file as the current user
botler-dev_1 | npm ERR!
botler-dev_1 | npm ERR! If you believe this might be a permissions issue, please double-check the
botler-dev_1 | npm ERR! permissions of the file and its containing directories, or try running
botler-dev_1 | npm ERR! the command again as root/Administrator.
botler-dev_1 |
botler-dev_1 | npm ERR! A complete log of this run can be found in:
botler-dev_1 | npm ERR! /home/node/.npm/_logs/2023-01-19T00_30_24_046Z-debug-0.log
Attaching to bot_botler-dev_1
botler-dev_1 |
botler-dev_1 | > [email protected] predocker:watch
botler-dev_1 | > npm install
botler-dev_1 |
botler-dev_1 | npm ERR! code EACCES
botler-dev_1 | npm ERR! syscall mkdir
botler-dev_1 | npm ERR! path /opt/app/node_modules
botler-dev_1 | npm ERR! errno -13
botler-dev_1 | npm ERR! Error: EACCES: permission denied, mkdir '/opt/app/node_modules'
botler-dev_1 | npm ERR! [Error: EACCES: permission denied, mkdir '/opt/app/node_modules'] {
botler-dev_1 | npm ERR! errno: -13,
botler-dev_1 | npm ERR! code: 'EACCES',
botler-dev_1 | npm ERR! syscall: 'mkdir',
botler-dev_1 | npm ERR! path: '/opt/app/node_modules'
botler-dev_1 | npm ERR! }
botler-dev_1 | npm ERR!
botler-dev_1 | npm ERR! The operation was rejected by your operating system.
botler-dev_1 | npm ERR! It is likely you do not have the permissions to access this file as the current user
botler-dev_1 | npm ERR!
botler-dev_1 | npm ERR! If you believe this might be a permissions issue, please double-check the
botler-dev_1 | npm ERR! permissions of the file and its containing directories, or try running
botler-dev_1 | npm ERR! the command again as root/Administrator.
botler-dev_1 |
botler-dev_1 | npm ERR! A complete log of this run can be found in:
botler-dev_1 | npm ERR! /home/node/.npm/_logs/2023-01-19T00_30_24_046Z-debug-0.log
27 replies