ts-node-dev: compile error is not printed out
Sometimes when I run with a syntax error, I get this output:
> looop@ be /home/capaj/work-repos/looop/project-alpha
> cd ./back-end && NODE_ENV=development LOOOP_ENVIRONMENT=dev DEBUG=looop*,knex:query,knex:bindings ts-node-dev --transpileOnly src/server.js
Using ts-node version 8.1.0, typescript version 3.4.5
looop:knexfile dbName: looop +0ms
looop:aws mocking aws.SES +0ms
looop:aws mocking aws.SQS +0ms
[ERROR] 20:05:54 ⨯ Unable to compile TypeScript:
would be nicer if it showed an error
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 17 (7 by maintainers)
what the… I don’t get errors in the console too. What happened?
ts-node
andtsc
show errors correctlyI’m having the same issue, no TS errors displayed in the console when running:
version:
"ts-node-dev": "^1.0.0-pre.44",
My whole build/run env is in Docker (Compose) using the
node:10-alpine
image. Just now I had typing errors showing as expected in the console after removing thetranspileOnly
flag.