Actually the error is pretty straightforward. It can't read the process because it's not defined. It's not like how it's in the NodeJS. You'll need to import your environment ( first you'll need to define your file replacements and anything) then you can read your env variables. Please take a look at the doc