Closed umpirsky closed 9 years ago
Looks like case sensitivity issue?
After $ git mv src/app/others/cache.js src/app/others/Cache.js
grunt command worked, but:
$ grunt deploy
Running "samsung:default_options" (samsung) task
Clean folders
Creating zip file
Creating XML file
XML has been saved!
Please go to http://192.168.1.5 to test your popcorntime server.
Fatal error: listen EACCES
That's probably because you are already using port 80 for some other application.
@cajadas How can I change port? Thanks.
I've seen that configuration on the source code a while back but ignored it because i'm pretty sure that when you call the "sync apps" function on your smarttv it will send a request only to port 80.
You should disable the app that is using port 80 instead and try again. Its probably your apache server.
@cajadas Thanks!
But still problems:
umpirsky@zenbook:~/Projects/popcorntime-smarttv$ sudo service apache2 stop
umpirsky@zenbook:~/Projects/popcorntime-smarttv$ lsof -i tcp:80 | awk 'NR!=1 {print $2}' | xargs kill
umpirsky@zenbook:~/Projects/popcorntime-smarttv$ grunt deploy
Running "samsung:default_options" (samsung) task
Clean folders
Creating zip file
Creating XML file
XML has been saved!
Please go to http://192.168.1.5 to test your popcorntime server.
Fatal error: listen EACCES
probably your user does not have sufficient privileges. try sudo grunt deploy
instead.
@cajadas OK, looks like it works now, thanks.
It failed when I run grunt: