Error While Deploying Ts node app

sh: 1: tsc: not found
Nov 21 04:32:44 AM npm ERR! code ELIFECYCLE
Nov 21 04:32:44 AM npm ERR! syscall spawn
Nov 21 04:32:44 AM npm ERR! file sh
Nov 21 04:32:44 AM npm ERR! errno ENOENT
Nov 21 04:32:44 AM npm ERR! ts_node_demo@1.0.0 build: tsc
Nov 21 04:32:44 AM npm ERR! spawn ENOENT
Nov 21 04:32:44 AM npm ERR!
Nov 21 04:32:44 AM npm ERR! Failed at the ts_node_demo@1.0.0 build script.
Nov 21 04:32:44 AM npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Nov 21 04:32:44 AM
Nov 21 04:32:44 AM npm ERR! A complete log of this run can be found in:
Nov 21 04:32:44 AM npm ERR! /opt/render

I’m getting this error while deploying. Please help me out

Hi,

tsc: not found sounds like you’re not installing your dependencies. A common Node Build Command would be:

npm install && npm run build

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.