Closed luke777 closed 5 years ago
Hi Luke,
Thanks for stopping by! It's nice to see someone else around here. Sorry I didn't see this earlier, apparently I have to turn on issue notifications somewhere.
Can you try the most recent version (0.8.1) and tell me if you still get the same problem?
Best,
Owen
I still get an error with the latest version.
PS C:\jtree-0.8.2.1-win> .\jtree-win-x64.exe Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): Error loading app: C:\jtree-0.8.2.1-win\apps\2 features\error-syntax.jtt Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): SyntaxError: Invalid or unexpected token Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): Line unknown, position unknown Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): Error loading app: C:\jtree-0.8.2.1-win\apps\2 features\error-undefined-var.jtt Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): ReferenceError: ap is not defined Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): Line 2, position 1 events.js:183 throw er; // Unhandled 'error' event ^
Error: listen EACCES 0.0.0.0:80
at Object._errnoException (util.js:992:11)
at _exceptionWithHostPort (util.js:1014:20)
at Server.setupListenHandle [as _listen2] (net.js:1338:19)
at listenInCluster (net.js:1396:12)
at Server.listen (net.js:1480:7)
at new StaticServer (C:\snapshot\server\source\core\StaticServer.js:0:0)
at Object.
Interesting. It looks like you don't have access to port 80 on your machine.
Reference: https://stackoverflow.com/questions/35068712/error-listen-eacces-0-0-0-080-osx-node-js
jtree uses port 80 by default, but you can specify an alternative port in a "\jtree-0.8.2.1-win\settings.json" file:
// settings.json { "port": 3001 }
Try anything larger than 1024. The actual number used doesn't matter, 80 just looks nicer because the browser omits the ":80" part from addresses.
Let me know if you need any more help.
Owen
Am Mi., 16. Okt. 2019 um 19:04 Uhr schrieb luke777 <notifications@github.com
:
I still get an error with the latest version.
PS C:\jtree-0.8.2.1-win> .\jtree-win-x64.exe Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): Error loading app: C:\jtree-0.8.2.1-win\apps\2 features\error-syntax.jtt Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): SyntaxError: Invalid or unexpected token Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): Line unknown, position unknown Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): Error loading app: C:\jtree-0.8.2.1-win\apps\2 features\error-undefined-var.jtt Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): ReferenceError: ap is not defined Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): Line 2, position 1 events.js:183 throw er; // Unhandled 'error' event ^
Error: listen EACCES 0.0.0.0:80 at Object._errnoException (util.js:992:11) at _exceptionWithHostPort (util.js:1014:20) at Server.setupListenHandle [as _listen2] (net.js:1338:19) at listenInCluster (net.js:1396:12) at Server.listen (net.js:1480:7) at new StaticServer (C:\snapshot\server\source\core\StaticServer.js:0:0) at Object. (C:\snapshot\server\source\jtree.js:0:0) at Module._compile (pkg/prelude/bootstrap.js:1252:22) at Object.Module._extensions..js (module.js:661:10) at Module.load (module.js:563:32) PS C:\jtree-0.8.2.1-win>
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/opowell/jtree/issues/33?email_source=notifications&email_token=AAE42LLHTRSUKVRC4IORB2LQO5CTLA5CNFSM4IUHTFUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBNHHDA#issuecomment-542798732, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE42LINVWA6QO7DH6QIO5LQO5CTLANCNFSM4IUHTFUA .
-- Owen Powell http://sites.google.com/site/opowell
Thanks, that got it to work.
On Wed, 16 Oct 2019 at 20:18, opowell notifications@github.com wrote:
Interesting. It looks like you don't have access to port 80 on your machine.
Reference:
https://stackoverflow.com/questions/35068712/error-listen-eacces-0-0-0-080-osx-node-js
jtree uses port 80 by default, but you can specify an alternative port in a "\jtree-0.8.2.1-win\settings.json" file:
// settings.json { "port": 3001 }
Try anything larger than 1024. The actual number used doesn't matter, 80 just looks nicer because the browser omits the ":80" part from addresses.
Let me know if you need any more help.
Owen
Am Mi., 16. Okt. 2019 um 19:04 Uhr schrieb luke777 < notifications@github.com
:
I still get an error with the latest version.
PS C:\jtree-0.8.2.1-win> .\jtree-win-x64.exe Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): Error loading app: C:\jtree-0.8.2.1-win\apps\2 features\error-syntax.jtt Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): SyntaxError: Invalid or unexpected token Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): Line unknown, position unknown Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): Error loading app: C:\jtree-0.8.2.1-win\apps\2 features\error-undefined-var.jtt Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): ReferenceError: ap is not defined Wed Oct 16 2019 18:02:41 GMT+0100 (GMT Summer Time): Line 2, position 1 events.js:183 throw er; // Unhandled 'error' event ^
Error: listen EACCES 0.0.0.0:80 at Object._errnoException (util.js:992:11) at _exceptionWithHostPort (util.js:1014:20) at Server.setupListenHandle [as _listen2] (net.js:1338:19) at listenInCluster (net.js:1396:12) at Server.listen (net.js:1480:7) at new StaticServer (C:\snapshot\server\source\core\StaticServer.js:0:0) at Object. (C:\snapshot\server\source\jtree.js:0:0) at Module._compile (pkg/prelude/bootstrap.js:1252:22) at Object.Module._extensions..js (module.js:661:10) at Module.load (module.js:563:32) PS C:\jtree-0.8.2.1-win>
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/opowell/jtree/issues/33?email_source=notifications&email_token=AAE42LLHTRSUKVRC4IORB2LQO5CTLA5CNFSM4IUHTFUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBNHHDA#issuecomment-542798732 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAE42LINVWA6QO7DH6QIO5LQO5CTLANCNFSM4IUHTFUA
.
-- Owen Powell http://sites.google.com/site/opowell
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/opowell/jtree/issues/33?email_source=notifications&email_token=ACZDXHZLMMGVU7N5XH6NK4TQO5SHFA5CNFSM4IUHTFUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBNUGSQ#issuecomment-542851914, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZDXH3SIGY5IUABW7L4YQDQO5SHFANCNFSM4IUHTFUA .
Fixed in 0.8.2.2. Thanks again for the report.
I tried to run jtree-0.7.14-win on windows 10 but got the error below.
serving files from C:\jtree-0.7.14-win\apps\user games as /user games events.js:183 throw er; // Unhandled 'error' event ^
Error: listen EACCES 0.0.0.0:80 at Object._errnoException (util.js:1024:11) at _exceptionWithHostPort (util.js:1046:20) at Server.setupListenHandle [as _listen2] (net.js:1334:19) at listenInCluster (net.js:1392:12) at Server.listen (net.js:1476:7) at new StaticServer (C:\snapshot\server\source\core\StaticServer.js:0:0) at Object. (C:\snapshot\server\source\jtree.js:0:0)
at Module._compile (pkg/prelude/bootstrap.js:1243:22)
at Object.Module._extensions..js (module.js:644:10)
at Module.load (module.js:552:32)
PS C:\jtree-0.7.14-win>