sh: 1: tsc: not found
Aug 26 10:37:32 PM npm ERR! code ELIFECYCLE
Aug 26 10:37:32 PM npm ERR! syscall spawn
Aug 26 10:37:32 PM npm ERR! file sh
Aug 26 10:37:32 PM npm ERR! errno ENOENT
Aug 26 10:37:32 PM npm ERR! server@1.0.0 build: tsc
Aug 26 10:37:32 PM npm ERR! spawn ENOENT
Aug 26 10:37:32 PM npm ERR!
Aug 26 10:37:32 PM npm ERR! Failed at the server@1.0.0 build script.
Aug 26 10:37:32 PM npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Aug 26 10:37:32 PM
Aug 26 10:37:32 PM npm ERR! A complete log of this run can be found in:
Aug 26 10:37:32 PM npm ERR! /opt/render/.cache/_logs/2023-08-26T16_07_32_894Z-debug.log
Aug 26 10:37:32 PM ==> Build failed
I’m deploying node server and got this
I installed tsc in devDependencies
my .env
NODE_ENV = deployment