Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ts-node-dev bad option: --transpileOnly and bad option: --ignoreWatch

I'm trying to run a script for my node server on top of ts-node-dev with two parameters: --transpileOnly and --ignoreWatch. However I am getting the following errors:

Print Error

My package.json:

enter image description here

ps: I'm using yarn and node installed by brew on MacOS Catalina.

like image 657
Thomas Marques Avatar asked Jul 31 '20 03:07

Thomas Marques


1 Answers

The problem is that: --transpileOnly has been made obsolete. Try using --transpile-only now.

like image 192
Diego Avatar answered Sep 24 '22 10:09

Diego