env/join not working properly

hi
Solution:
wait do i just need one more '..'
Jump to solution
8 Replies
čamdžić
čamdžićOP4mo ago
No description
čamdžić
čamdžićOP4mo ago
@Boomeravna can u help me
Lioness100
Lioness1004mo ago
Please send your code
čamdžić
čamdžićOP4mo 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ćOP4mo ago
No description
Solution
čamdžić
čamdžić4mo ago
wait do i just need one more '..'
čamdžić
čamdžićOP4mo ago
yesss sorry
Lioness100
Lioness1004mo ago
In the future, please don't tag anyone immediately
Want results from more Discord servers?
Add your server