You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forever version 4.0.3 changes the output from forever --plain list slightly which breaks the init script generated by forever-service because the regex to parse the output and determine the status of running services no longer works.
With forever v4.0.2, forever --plain list generates output like this:
That undefined after data: breaks the init script created by forever-service as it relies on a regex matching whitespace after data: to identify running services.
I've reported this to the author of the relevant PR which introduced the change at foreversd/forever#1128 (comment) and it has been acknowledged as an issue, but that does not necessarily mean a fix is imminent.
In the meantime, I have pinned forever to version 4.0.2, but maybe the status regex in the init script generated by forever-service should be updated though to look for a sequence of characters not matching [ rather than one or more spaces? (having said that, this is code I'm not really familiar with, it's just an issue I ran into earlier today, so I might be missing some obvious constraints here)
The text was updated successfully, but these errors were encountered:
Forever version 4.0.3 changes the output from
forever --plain list
slightly which breaks the init script generated by forever-service because the regex to parse the output and determine the status of running services no longer works.With forever v4.0.2,
forever --plain list
generates output like this:With forever v4.0.3,
forever --plain list
generates output like this:That
undefined
afterdata:
breaks the init script created by forever-service as it relies on a regex matching whitespace afterdata:
to identify running services.I've reported this to the author of the relevant PR which introduced the change at foreversd/forever#1128 (comment) and it has been acknowledged as an issue, but that does not necessarily mean a fix is imminent.
In the meantime, I have pinned forever to version 4.0.2, but maybe the status regex in the init script generated by forever-service should be updated though to look for a sequence of characters not matching
[
rather than one or more spaces? (having said that, this is code I'm not really familiar with, it's just an issue I ran into earlier today, so I might be missing some obvious constraints here)The text was updated successfully, but these errors were encountered: