Open devjoemedia opened 2 years ago
Hello,
you can try the solutions from #2808
Same here.
It seems that pm2 can't distinguish between file name and command.
have you tried
pm2 start yarn -- start
this is pm2 way of spawning a process with parameters
Running into this problem. Solution above did not fix the problem.
Running into this problem. Solution above did not fix the problem.
what error did you get?
Did you try unseting NODE_CHANNEL_FD
before spawning yarn? (e,g: using a shell script?)
Running into this problem. Solution above did not fix the problem.
what error did you get?
Did you try unseting
NODE_CHANNEL_FD
before spawning yarn? (e,g: using a shell script?)
No I have not done that. The resource you provided seems to be referring to python related things. My program does not have any python code. I'm getting the same error as what this original issue shows:
$ pm2 start "yarn start"
[PM2][ERROR] Script not found: C:\Users\Joseph\Desktop\simple-server\yarn start
have you tried
pm2 start yarn -- start
this is pm2 way of spawning a process with parameters
It should be noted, when I tried this method, I got the following error:
[PM2] Starting C:\USERS\DZLAN\APPDATA\ROAMING\NPM\YARN.CMD in fork_mode (1 instance)
[PM2] Done.
[PM2][ERROR] Script not found: C:\Users\dzlan\Documents\GitHub\Scriptly\start
pm2 is not running npm script on windows
how do I configure pm2 to run npm scripts on windows operation system
when I run the follow command below is the error I keep getting script not found