env/join not working properly
hi
8 Replies
@Boomeravna can u help me
Please send your code
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');
Solution
wait do i just need one more
'..'
yesss
sorry
In the future, please don't tag anyone immediately