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

Всем привет. Столкнулся с проблемой запуска приложения с дополнительными опциями. Например

nest start my-app ––test=1
nest start my-app –– ––test=1
Во все ситуациях выдаёт error: unknown option “––test”
Как это решить?

2 ответов

14 просмотров

Привет. nest start наверное не умеет прокидывать аргументы командной строки запускаемому приложению. Если подойдёт, то можно это делать через npm run, например npm run start:app -- --test=1, а в скрипте start:app например будет node main.js .

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

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

Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
255
VIP-392 [zkSync] New native USDC market in the Core pool Summary If passed, following the Community proposal “Support native USDC on Venus Core Pool of ZKSync Era” and the a...
Venus Announcements
1
is that okay?
Samurai 🇯🇵
21
How about the project bro Likes the community not that active ?
🅿️abby_FX
19
Guys, Donald Trump or Kamala Harris? It does not matter for Bitcoin in the long run!! 2020 Election: After Joe Biden's victory in November 2020, Bitcoin steadily rose from...
Sabah Shabu
3
checking for Berkeley DB C++ headers... no configure: error: libdb_cxx headers missing, Litecoin Core requires this library for wallet functionality (--disable-wallet to disab...
GNU/Линуксяша-libre (";("
5
@brucezli Any info regarding ETA on updates?
Old Man Tom
10
------------------------------------------------------------------------------ 📢 MAJOR ANNOUNCEMENT: HSUITE ECOSYSTEM UPDATE 📢 @everyone Dear HbarSuite Community, After month...
Big Stones
3
Is like having a company with great talents, early investors & workers who joined a company but saw that the vision was getting lost so they pushed for a change from within. T...
Randall Roland
2
error: Provider exception on decrypt DDO. Status: Request failed with status code 400 error: INDEXER: Error processMetadataEvents: Error: Provider exception on decrypt...
Bordo Tor
6
Карта сайта