-
-
Save RobinDaugherty/2731f20d303e6506d451384df2189210 to your computer and use it in GitHub Desktop.
curl -L https://gist.githubusercontent.com/RobinDaugherty/2731f20d303e6506d451384df2189210/raw/b52e6231170b3dce39633db29634dc892751910f/pow_better_errors_fix.patch | | |
patch ~/Library/Application\ Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb |
105a106 | |
> buf_complete = false | |
108a110,112 | |
> buf_complete = true | |
> end | |
> if buf_complete |
Pow started throwing this error last week. Thanks for the fix! It worked well!
If you've installed Pow via Brew, then the file to be patched is here:
/usr/local/Cellar/pow/0.5.0/libexec/node_modules/nack/lib/nack/server.rb
Hi!
I ran the code inside apply_this.sh, saw the changes in server.rb but the EOF error still pops up. Is there anything else I need to do for this to work?
Thanks!
@pinzonjulian I did restart Pow using powder like so:
powder stop
# enter password
powder start
Or you can do
touch ~/.pow/restart.txt
Thanks so much for this patch! pow started throwing this error for me today for some unknown reason. Applied cleanly and after a restart it's working as expected again!
Still works great with Pow 0.6.0 -- thanks much -- just need to apply the patch to the new directory, as below:
curl -L https://gist.githubusercontent.com/RobinDaugherty/2731f20d303e6506d451384df2189210/raw/b52e6231170b3dce39633db29634dc892751910f/pow_better_errors_fix.patch | patch ~/Library/Application\ Support/Pow/Versions/0.6.0/node_modules/nack/lib/nack/server.rb
Awesome stuff guys. Thank You.
Nice work, really appreciate it!