You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try TS_NODE_PROJECT=tsconfig-server.json node-dev src/server.ts. ts-node allows you to pass arguments via environment variables where needed. See https://github.com/TypeStrong/ts-node#tsconfig
Try TS_NODE_PROJECT=tsconfig-server.json node-dev src/server.ts. ts-node allows you to pass arguments via environment variables where needed. See https://github.com/TypeStrong/ts-node#tsconfig
Could you tell me hou to do it via npm run please? Thanks a lot!
Try TS_NODE_PROJECT=tsconfig-server.json node-dev src/server.ts. ts-node allows you to pass arguments via environment variables where needed. See https://github.com/TypeStrong/ts-node#tsconfig
Could you tell me hou to do it via npm run please? Thanks a lot!
It has been solved.
We should use TS_NODE_PROJECT=tsconfig-server.json node-dev src/server.ts in order to run in any env
I have error:
How to pass
--project tsconfig-server.json
argument to ts-node module?The text was updated successfully, but these errors were encountered: