Adrian Horning's Blog

Digital Ocean App Platform tsc command not found

#software-development #digital-ocean #typescript

January 04, 2021

When trying to deploy my node app on Digital Ocean’s App Platform, the build failed and the error was:

tsc: command not found

Here is what my build command was

"build": "tsc"

Apparently I needed to install the dev dependencies, so using

"build": "npm install --only=dev && tsc"


Here are some community posts discussing this: