Taha Asif

1

votes
0

answer
18

views

Running a python script from nodejs and returning json back

I am running a python script using python-shell. The python script(named combine.py) returns data in json format. But the code works fine on my local machine but not on aws instance. I get the following error in pm2 logs: SyntaxError: Unexpected token / in JSON at position 0 I have made sure that py...
Taha Asif