209 похожих чатов

Ребят, вообще не понимаю, что не так. TypeOrmModule.forRoot() плохо читает

поле USER в env файле. Т.е. поле proccess.env.HOST он читает нормальньо, а поле proccess.env.USER он читает как пустую строку, хотя там я написал "Tsugaru". В одном из контроллеров я вывел в консоль proccess.env.USER и он выдал Tsugaru, хотя typeorm выдает мне пустую строку. В чем может быть проблема?

8 ответов

9 просмотров
Глеб- Автор вопроса

сейчас попробую, спасибо

Глеб- Автор вопроса

Действительно работает, еще раз спасибо)

Глеб
Действительно работает, еще раз спасибо)

Странно. Сработало без inject: [ConfigService] ?

Использую autoLoadEntities. Показалось удобным. Насколько актуально?

Глеб- Автор вопроса
Spyro
Странно. Сработало без inject: [ConfigService] ?

Хз, проект заработал, я его закрыл и уже лег)

максон
так там есть инжект

Пардон, не заметил

Похожие вопросы

Обсуждают сегодня

Hi, I was reading this https://twitter.com/HouseofChimera/status/1778078991762780408 about Verasity and their likely choice of Tron as blockchain for their token for its low f...
Jordi
13
@samkazemian - couple questions: Update on frxBTC? - This would do well with the current influx of institutional investment entering the space Update on future veFXS streams...
Costi
16
Does anyone here have a connection Mullvad? it would be nice to know what it would take to have them accept BCH 0-conf.
tl121x
16
I arrived here after a Chico Crypto show highlighted the project & the Team - the fact that the Team had a long history of successfully working with household names gave me e...
Banter is Bullish
5
Can an XMR transaction be tracked from its sender to its receiver by performing blockchain analysis, no matter how many addresses are used?
Trkz342
16
Dear super pioneers 🥳🥳: I want to purchase a hosting plan for a website where video games, metaverse, AI avatars, videos, and heavy virtual twins can be uploaded, which I wan...
Guapi
10
So after the feedback, we have broken it down into 4 road maps. Dev team, Marketing, Partnerships, and community. Dev branch will show the status of the swap, fork, gb’s, bug...
LGCY
1
Morning people Just seeing the conversation about Mining. It's clear that at this point in time it doesn't look like there is much point to it. But the Hasrate is at a al...
Kenny
4
Maybe an article to read?
Dev Bobby
14
Is it a good price to buy hex now on 0,0019?
Patrick
29
Карта сайта