add command line arguments

This commit is contained in:
Asraelite 2016-03-29 13:45:23 +01:00
parent 4f42723f4a
commit 1160466cf9
13 changed files with 129 additions and 7 deletions

50
npm-debug.log Normal file
View file

@ -0,0 +1,50 @@
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'start',
1 verbose cli '--',
1 verbose cli '-p',
1 verbose cli '70' ]
2 info using npm@3.7.3
3 info using node@v5.9.1
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle wingbase@0.0.1~prestart: wingbase@0.0.1
6 silly lifecycle wingbase@0.0.1~prestart: no script for prestart, continuing
7 info lifecycle wingbase@0.0.1~start: wingbase@0.0.1
8 verbose lifecycle wingbase@0.0.1~start: unsafe-perm in lifecycle true
9 verbose lifecycle wingbase@0.0.1~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/home/asraelite/code/nodejs/wingbase/node_modules/.bin:/usr/local/bin:/usr/local/heroku/bin:/home/asraelite/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/asraelite/bin:/usr/local/java/jdk1.7.0_45/bin:/home/asraelite/bin:/usr/local/java/jdk1.7.0_45/jre/bin:/home/asraelite/.rvm/bin:/usr/local/bin:/usr/local/bin:/usr/local/go/bin:/home/asraelite/Code/go/bin:/home/asraelite/.rvm/bin
10 verbose lifecycle wingbase@0.0.1~start: CWD: /home/asraelite/code/nodejs/wingbase
11 silly lifecycle wingbase@0.0.1~start: Args: [ '-c', 'node index.js "-p" "70"' ]
12 silly lifecycle wingbase@0.0.1~start: Returned: code: 1 signal: null
13 info lifecycle wingbase@0.0.1~start: Failed to exec start script
14 verbose stack Error: wingbase@0.0.1 start: `node index.js "-p" "70"`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:239:16)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at EventEmitter.emit (events.js:185:7)
14 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at ChildProcess.emit (events.js:185:7)
14 verbose stack at maybeClose (internal/child_process.js:850:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid wingbase@0.0.1
16 verbose cwd /home/asraelite/code/nodejs/wingbase
17 error Linux 3.13.0-24-generic
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" "--" "-p" "70"
19 error node v5.9.1
20 error npm v3.7.3
21 error code ELIFECYCLE
22 error wingbase@0.0.1 start: `node index.js "-p" "70"`
22 error Exit status 1
23 error Failed at the wingbase@0.0.1 start script 'node index.js "-p" "70"'.
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 wingbase package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error node index.js "-p" "70"
23 error You can get information on how to open an issue for this project with:
23 error npm bugs wingbase
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls wingbase
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]