TheRealJohan™
TheRealJohan™
Explore posts from servers
SIASapphire - Imagine a framework
Created by TheRealJohan™ on 8/21/2023 in #sapphire-support
Error: Module did not self-register
I'm getting this error when I run my tests for some reason, how can I solve this?
Error when loading '/path/to/project/dist/commands/developer/eval.js': Error: Module did not self-register: '/path/to/project/node_modules/.pnpm/@[email protected]/node_modules/@sapphire/type/prebuild/type-node-v108-darwin-arm64-unknown-unknown/type.node'.
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1340:18)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Function.Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:121:18)
at Object.<anonymous> (/path/to/project/node_modules/.pnpm/@[email protected]/node_modules/@sapphire/type/src/index.ts:12:55)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Function.Module._load (node:internal/modules/cjs/loader:960:12) {
code: 'ERR_DLOPEN_FAILED'
}
Error when loading '/path/to/project/dist/commands/developer/eval.js': Error: Module did not self-register: '/path/to/project/node_modules/.pnpm/@[email protected]/node_modules/@sapphire/type/prebuild/type-node-v108-darwin-arm64-unknown-unknown/type.node'.
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1340:18)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Function.Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:121:18)
at Object.<anonymous> (/path/to/project/node_modules/.pnpm/@[email protected]/node_modules/@sapphire/type/src/index.ts:12:55)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Function.Module._load (node:internal/modules/cjs/loader:960:12) {
code: 'ERR_DLOPEN_FAILED'
}
8 replies
SIASapphire - Imagine a framework
Created by TheRealJohan™ on 6/26/2023 in #sapphire-support
How can I bypass required user permissions?
I want developers to be able to bypass them I can probably override the parseConstructorPreConditionsRequiredUserPermissions method so it adds an extended/custom precondition but that's my last resort since it feels hacky
9 replies
SIASapphire - Imagine a framework
Created by TheRealJohan™ on 6/24/2023 in #sapphire-support
I'm not receiving any Context Menu Command interactions
6 replies