I saw this in a different topic. Changing process.env.SECRET to ` ${process.env.SECRET} ` might work
process.env.SECRET
${process.env.SECRET}