env/join not working properly

hi
Solution:
wait do i just need one more '..'
Jump to solution
8 Replies
čamdžić
čamdžićOP5mo ago
No description
čamdžić
čamdžićOP5mo ago
@Boomeravna can u help me
Lioness100
Lioness1005mo ago
Please send your code
čamdžić
čamdžićOP5mo ago
import { rootDir, srcDir } from './constants'; ApplicationCommandRegistries.setDefaultBehaviorWhenNotIdentical( RegisterBehavior.BulkOverwrite ); console.log(join(rootDir, '.env')); setup({ path: join(srcDir, '.env') }); import { join } from 'path'; export const rootDir = join(__dirname, '..', '..'); export const srcDir = join(rootDir, 'src');
čamdžić
čamdžićOP5mo ago
No description
Solution
čamdžić
čamdžić5mo ago
wait do i just need one more '..'
čamdžić
čamdžićOP5mo ago
yesss sorry
Lioness100
Lioness1005mo ago
In the future, please don't tag anyone immediately
Want results from more Discord servers?
Add your server