-
Published Answer
+1 for this
I am running a node app on App Platform and I’m unsure how to get it on the server. Other than putting it in my repo, …
•
By
madrianhorning
-
Published Answer
Did "build": "npm install --only=dev && tsc" and it looks like its working.
Accepted Answer:
Did "build": "npm install --only=dev && tsc" and it looks like its working.
•
By
madrianhorning
-
Published Question
Trying to deploy Node.js app (with TypeScript) with App Platform
I am getting tsc: command not found when trying to run build.
This is part of my package.json
"scripts": {
"build": "tsc",
"start": "node dist/...
Accepted Answer:
Did "build": "npm install --only=dev && tsc" and it looks like its working.
1
•
•
By
madrianhorning
DigitalOcean App Platform
TypeScript
Node.js
-
Published Answer
Turns out commented out lines in your package.json will break the build 😅
•
By
madrianhorning
-
Published Question
Deploying node app to App Platform. Running tsc in the build command, which isn't working, but after trying a couple different commands in the build, I'm getting No buildpack groups passed detection
I tried to clear t...
1
•
•
By
madrianhorning
Node.js
DigitalOcean App Platform
TypeScript
-
Published Answer
+1
•
By
madrianhorning
-
Published Answer
+1
•
By
madrianhorning