-
Notifications
You must be signed in to change notification settings - Fork 66
pm2-service-install throws exception #2
Comments
You're probably right, judging by the error, this library uses some ES6 features which require node 4+ (it might work on 0.12.x if you add the If you can check your node version and either update or try using |
I tried run pm2-service-install --harmony, and received this error again. |
Yeah, wasn't sure about the adding This library does only support node 4+ currently (this is in the If anyone is actually unable to update, please post up here and I'll take a crack at making the package 0.12.x compatible, though I'm not inclined to unless anyone is really stuck on node 0.12.x for some reason. |
Thanks for your reply! |
Had a bit more of a look into this and it seems the service already gets run with the I just pushed a commit which should give 0.12.x compatibility, if you want to install |
Closing this out as there's been no activity in a while, if anyone does get issues using older versions of node, comment here and I can reopen. |
I have multiple node version environment running in the system. Current Environment: Globally installed Modules version: From Command line with Administrator Priviledges, I am executing the command to install pm2 service. After executing the command, process asks whether to "Perform Environment Setup (recommended) ?". I am selecting "yes". But after that nothing happens. Process stays idle from that point onwards and there is no activity or changes happening in services. |
@krupalbhardiya Did you got any solution for the same, I am also facing the same issue |
@bsjaffer yes i found it in an earlier issue. check out the solution from earlier answer by Schokojim |
Hi,
I get an exception when trying to install with
pm2-service-install
.The exception is:
Maybe it has something to do with my node version?
The text was updated successfully, but these errors were encountered: