-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: spawn ..\Roaming\npm\node_modules\pm2\node_modules\.bin\ts-node ENOENT #4263
Comments
+1 |
@tzjoke No, I think it should run with cluster mode. |
@yeongjet Well, now it does work under cluster mode but it worked well with fork mode before for sure. Weird... |
+1 |
+1 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
???? @Unitech |
This still happens, has anyone found fixes? Please tag me if you have. |
Any luck, guys? Still having this issue |
Having the same issue on windows but not on linux. Anyone have any luck? |
what do you mean |
It feels like the devs really don't care about windows issues at all.. I'm trying to use pm2 so bad but there is always an issue specifically related to windows.. most of the issues are already open for more than two years and there is still no response from the devs |
If anyone needs a potential solution (it solved my ts-node problem) For current working directory:
In package.json add a script:
This will install typescript globally or in current working directory to pm2 Finally change
|
What's going wrong?
After running
pm2 install typescript
andpm2 start hello.ts
got this error.pm2 is global installed on win10, have check these issues: #2742 #3312 #2675 but haven't solve it.
C:\Users\me\AppData\Roaming\npm\node_modules\pm2\node_modules\.bin\ts-node
is exists.Supporting information
$ pm2 report
But it's running successful under the cluster mode:
pm2 start .\hello.ts -i max
The text was updated successfully, but these errors were encountered: