Digital Ocean App Platform tsc command not found
#software-development #digital-ocean #typescriptJanuary 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"
worked
Here are some community posts discussing this: