syntax error in deploy log
nersesarslan
TRIALOP

a year ago

I'm getting the Application Failed to Respond error when I try to deploy my app. I'm checking my deploy logs to see what might cause the error and I see the following:

app.js: 1: Syntax error: "(" unexpected

I checked if there was a misplaced parentheses in the first line of my app.js file but couldn't find anything:

//line 1

const express = require("express");

I was wondering why I'm receiving this error in my deploy log

1 Replies

nersesarslan
TRIALOP

a year ago

Nevermind, I found the solution. I just had to put "node app.js" in the custom start command.


Loading...