Topic-icon pokerth-live

More
14 Apr 2020 04:19 #46017 by tfountain
tfountain replied.
I've got the same issue of [object Event] error and offline in upper left corner. If you and @sp0ck get it sorted, please let us know the solution.

Good stuff!

Please Log in or Create an account to join the conversation.

More
15 Apr 2020 00:34 - 15 Apr 2020 00:53 #46027 by sp0ck
sp0ck replied.
I think I figured it.

Please pull the newest commit from the branch and re-compile with npm.

Tests were successfull.

Please Log in or Create an account to join the conversation.

More
20 Apr 2020 17:21 #46103 by Tyrant917
Tyrant917 replied.
Thank you. Just saw your reply. I'll see if I can give it a try this week and let you know how it goes.
The following user(s) said Thank You: sp0ck

Please Log in or Create an account to join the conversation.

More
21 Apr 2020 01:39 #46118 by Dolomike
Dolomike replied.
Thanks for the great software guys. I have a private Pokerth server running and have hosted some games with our group which is great but I'm having some issues getting pokerth-live going. Any idea what's going on?

I followed the instructions above (001-webpack, npm i, npm run prod) but it isn't happy with something.
> npm run production


> pokerth-live@0.1.0 production /var/www/html/pokerth
> cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

/var/www/html/pokerth/node_modules/cross-env/src/index.js:23
    )
    ^
SyntaxError: Unexpected token )
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:549:28)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/var/www/html/pokerth/node_modules/cross-env/src/bin/cross-env.js:3:18)
npm ERR! Linux 5.3.18-2-pve
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "production"
npm ERR! node v6.17.1
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! pokerth-live@0.1.0 production: `cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the pokerth-live@0.1.0 production script 'cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pokerth-live package,
npm ERR! not with npm itself.

NPM Debug log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/bin/npm', 'run', 'prod' ]
2 info using npm@3.10.10
3 info using node@v6.17.1
4 verbose run-script [ 'preprod', 'prod', 'postprod' ]
5 info lifecycle pokerth-live@0.1.0~preprod: pokerth-live@0.1.0
6 silly lifecycle pokerth-live@0.1.0~preprod: no script for preprod, continuing
7 info lifecycle pokerth-live@0.1.0~prod: pokerth-live@0.1.0
8 verbose lifecycle pokerth-live@0.1.0~prod: unsafe-perm in lifecycle true
9 verbose lifecycle pokerth-live@0.1.0~prod: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/var/www/html/pokerth/node_modules/.bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
10 verbose lifecycle pokerth-live@0.1.0~prod: CWD: /var/www/html/pokerth
11 silly lifecycle pokerth-live@0.1.0~prod: Args: [ '-c', 'npm run production' ]
12 silly lifecycle pokerth-live@0.1.0~prod: Returned: code: 1  signal: null
13 info lifecycle pokerth-live@0.1.0~prod: Failed to exec prod script
14 verbose stack Error: pokerth-live@0.1.0 prod: `npm run production`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:920:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
15 verbose pkgid pokerth-live@0.1.0
16 verbose cwd /var/www/html/pokerth
17 error Linux 5.3.18-2-pve
18 error argv "/usr/bin/node" "/bin/npm" "run" "prod"
19 error node v6.17.1
20 error npm  v3.10.10
21 error code ELIFECYCLE
22 error pokerth-live@0.1.0 prod: `npm run production`
22 error Exit status 1
23 error Failed at the pokerth-live@0.1.0 prod script 'npm run production'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the pokerth-live package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     npm run production
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs pokerth-live
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls pokerth-live
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Please Log in or Create an account to join the conversation.

More
21 Apr 2020 02:01 - 21 Apr 2020 02:05 #46119 by sp0ck
sp0ck replied.
Hi Dolomike,

I cannot reproduce. Just tested with a fresh node / npm environment = Debian Buster - all went smooth.

You are sure about the branch?

Can you give a
git log
and
git status
?

Regards.

Please Log in or Create an account to join the conversation.

More
21 Apr 2020 02:07 #46122 by sp0ck
sp0ck replied.
Might be a permission issue. Pls check.

Please Log in or Create an account to join the conversation.

Champions of

PokerTH - live

The PokerTH spectator tool.

Member Login

 advert
NOTE! This site uses cookies and similar technologies.
Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information

We use cookies to personalize content and ads to offer features for social media and analyze the number of hits on our website. We also provide information about your use of our website to our partner for social media, advertising and analysis on.
http://www.google.com/intl/de/policies/privacy/partners/