richarcher / hatjitsu Goto Github PK
View Code? Open in Web Editor NEWWebsocket based Planning Poker
License: MIT License
Websocket based Planning Poker
License: MIT License
Add ability to import JIRA item description as part of the room. If room has voted, have an option to post this vote (or manually override it via form field) to the story point field on the item via JIRA REST interface.
Hi, i love this tool very much, but it doesn't work well via my vpn.
So i thought about self-hosting it.
But after cloning the repo an "npm install -d" gives me the error above.
I'm a complete node.js newbie (more in c, c++ and other ancient stuff) so forgive me, if the questions are stupid:
how can i solve this?
is there a branch/fork that works out-of-the-box?
Any hints?
Thanks in advance & br, Johann
Seeing the average and std deviation update as votes arrive gives information about the various votes prior to them being revealed.
Ideally, voters should be blind. Revealing the average and deviation should happen when votes are revealed.
The build itself processes without errors, but as soon as docker-compose tries to launch the container I get this error:
poker_1 | var app = module.exports = express.createServer();
poker_1 | ^
poker_1 |
poker_1 | TypeError: express.createServer is not a function
poker_1 | at Object.<anonymous> (/Hatjitsu/server.js:12:36)
poker_1 | at Module._compile (internal/modules/cjs/loader.js:1063:30)
poker_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
poker_1 | at Module.load (internal/modules/cjs/loader.js:928:32)
poker_1 | at Function.Module._load (internal/modules/cjs/loader.js:769:14)
poker_1 | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
poker_1 | at internal/main/run_main_module.js:17:47
hatjitsu_poker_1 exited with code 1
This app used to be hosted at http://hat.jit.su/ but is no longer available. Could you please have a look into this?
Let me know if I can help.
First installed npm & nodejs. Latest try was with:
% node -v
v0.12.0
% npm -v
2.5.1
Try 1 (from Git root):
npm install -d
node app
Result 1:
module.js:338
throw err;
^
Error: Cannot find module '/work/hatjit/Hatjitsu/app'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
Try 2 (from Git root):
npm install -d
npm start
Result 2:
sh: 1: server.js: not found
npm ERR! Linux 3.8.0-44-generic
npm ERR! argv "/work/hatjit/node-v0.12.0-linux-x64/bin/node" "/work/hatjit/node-v0.12.0-linux-x64/bin/npm" "start"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `server.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] start script 'server.js'.
npm ERR! This is most likely a problem with the hatchetapp.net package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! server.js
npm ERR! You can get their info via:
npm ERR! npm owner ls hatchetapp.net
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /work/hatjit/Hatjitsu/npm-debug.log
The later error is very weird, because server.js clearly exists in the PWD...
Log file from npm-start:
0 info it worked if it ends with ok
1 verbose cli [ '/work/hatjit/node-v0.12.0-linux-x64/bin/node',
1 verbose cli '/work/hatjit/node-v0.12.0-linux-x64/bin/npm',
1 verbose cli 'start',
1 verbose cli '/work/hatjit/Hatjitsu' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 verbose stack Error: [email protected] start: `server.js /work/hatjit/Hatjitsu`
9 verbose stack Exit status 127
9 verbose stack at EventEmitter.<anonymous> (/work/hatjit/node-v0.12.0-linux-x64/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
9 verbose stack at EventEmitter.emit (events.js:110:17)
9 verbose stack at ChildProcess.<anonymous> (/work/hatjit/node-v0.12.0-linux-x64/lib/node_modules/npm/lib/utils/spawn.js:14:12)
9 verbose stack at ChildProcess.emit (events.js:110:17)
9 verbose stack at maybeClose (child_process.js:1008:16)
9 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
10 verbose pkgid [email protected]
11 verbose cwd /work/hatjit/Hatjitsu
12 error Linux 3.8.0-44-generic
13 error argv "/work/hatjit/node-v0.12.0-linux-x64/bin/node" "/work/hatjit/node-v0.12.0-linux-x64/bin/npm" "start" "/work/hatjit/Hatjitsu"
14 error node v0.12.0
15 error npm v2.5.1
16 error code ELIFECYCLE
17 error [email protected] start: `server.js /work/hatjit/Hatjitsu`
17 error Exit status 127
18 error Failed at the [email protected] start script 'server.js /work/hatjit/Hatjitsu'.
18 error This is most likely a problem with the hatchetapp.net package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error server.js /work/hatjit/Hatjitsu
18 error You can get their info via:
18 error npm owner ls hatchetapp.net
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
Also, http://hat.jit.su/ seems to be down.
As long as the cards aren't too far off, we take the average and use that as an estimate.
It would be great if the app calculated the average automatically. Will send a pull request when I get a chance. For now, here's a snippet of code I just threw together than can be pasted in the console.
var cards = $('.cards > div > div'); alert('Average is ' + Math.round(cards.reduce(function (a, b) { return {innerText: (+a.innerText||0) + (+b.innerText||0)}; }).innerText / cards.length))
PS - Thank you for making this app. Very well done and useful!
This project currently has no license. Can you please add a license file?
Thank you,
Jeremy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.