D
D
Danil Antoshkin2016-09-28 07:37:16
JavaScript
Danil Antoshkin, 2016-09-28 07:37:16

How to fix error when running script with PM2?

Good afternoon, I am using a script written in coffee and it is normally run by the command "coffee name.coffee",
but when I try to run it using pm2, I get the error "[PM2] [ERROR] Interpreter /coffee does not seem to be available" (He still writes the path to the coffee module in his folder in the middle), the coffee package itself is installed, I tried the command "pm2 install cooffeescript" did not help, I run it on Windows Server 2012 R2 x64 (The same problem on Ubuntu)
Here is a screen of the problem
14290532.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question