gierschv/node-ovh-ip

NPM START

Closed this issue · 4 comments

When i run npm start.. I get This error.
npm http 200 https://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
npm http 200 https://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz
npm http 200 https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
npm http 200 https://registry.npmjs.org/commander/-/commander-0.6.1.tgz
npm http 200 https://registry.npmjs.org/send/-/send-0.1.2.tgz
npm http 200 https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.
1.tgz
npm http 200 https://registry.npmjs.org/debug/-/debug-0.7.2.tgz
npm http 200 https://registry.npmjs.org/methods/-/methods-0.0.1.tgz
npm http 200 https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz
npm http 200 https://registry.npmjs.org/argparse/-/argparse-0.1.15.tgz
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/formidable/1.0.14
npm http GET https://registry.npmjs.org/qs/0.6.5
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http GET https://registry.npmjs.org/bytes/0.2.0
npm http GET https://registry.npmjs.org/uid2/0.0.2
npm http 200 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
npm http 200 https://registry.npmjs.org/pause/0.0.1
npm http GET https://registry.npmjs.org/pause/-/pause-0.0.1.tgz
npm http 200 https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
npm http 200 https://registry.npmjs.org/formidable/1.0.14
npm http GET https://registry.npmjs.org/formidable/-/formidable-1.0.14.tgz
npm http 200 https://registry.npmjs.org/qs/0.6.5
npm http 200 https://registry.npmjs.org/underscore.string
npm http 200 https://registry.npmjs.org/bytes/0.2.0
npm http 200 https://registry.npmjs.org/uid2/0.0.2
npm http GET https://registry.npmjs.org/qs/-/qs-0.6.5.tgz
npm http GET https://registry.npmjs.org/bytes/-/bytes-0.2.0.tgz
npm http GET https://registry.npmjs.org/uid2/-/uid2-0.0.2.tgz
npm http GET https://registry.npmjs.org/underscore.string/-/underscore.string-2.
3.3.tgz
npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
npm http 200 https://registry.npmjs.org/pause/-/pause-0.0.1.tgz
npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
npm http 200 https://registry.npmjs.org/formidable/-/formidable-1.0.14.tgz
npm http 200 https://registry.npmjs.org/bytes/-/bytes-0.2.0.tgz
npm http 200 https://registry.npmjs.org/uid2/-/uid2-0.0.2.tgz
npm http 200 https://registry.npmjs.org/underscore.string/-/underscore.string-2.
3.3.tgz
npm http 200 https://registry.npmjs.org/qs/-/qs-0.6.5.tgz
node-ovh-ip@0.0.3-1 node_modules\node-ovh-ip
├── ovh@0.3.8
├── config@0.4.29
├── js-yaml@2.1.0 (esprima@1.0.4, argparse@0.1.15)
└── express@3.3.2 (methods@0.0.1, fresh@0.1.0, cookie-signature@1.0.1, cookie@0.
1.0, mkdirp@0.3.4, range-parser@0.0.4, buffer-crc32@0.2.1, commander@0.6.1, debu
g@0.7.2, send@0.1.2, connect@2.8.2)

C:\Users\Rodrigo Souza\node_modules\node-ovh-ip>npm start

node-ovh-ip@0.0.3-1 start C:\Users\Rodrigo Souza\node_modules\node-ovh-ip
node --harmony-proxies app.js

Express server listening on port 3000
Error: secret option required for sessions
at Object.session [as handle](C:UsersRodrigo Souzanode_modulesnode-ovh-
ipnode_modulesexpressnode_modulesconnectlibmiddlewaresession.js:228:24)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.cookieParser [as handle](C:UsersRodrigo Souzanode_modulesnode
-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewarecookieParser.js
:60:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.methodOverride [as handle](C:UsersRodrigo Souzanode_modulesno
de-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewaremethodOverrid
e.js:49:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at multipart (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\e
xpress\node_modules\connect\lib\middleware\multipart.js:67:61)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:57:9
at urlencoded (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules
express\node_modules\connect\lib\middleware\urlencoded.js:54:72)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:55:7
GET / 500 13ms
Error: secret option required for sessions
at Object.session [as handle](C:UsersRodrigo Souzanode_modulesnode-ovh-
ipnode_modulesexpressnode_modulesconnectlibmiddlewaresession.js:228:24)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.cookieParser [as handle](C:UsersRodrigo Souzanode_modulesnode
-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewarecookieParser.js
:60:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.methodOverride [as handle](C:UsersRodrigo Souzanode_modulesno
de-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewaremethodOverrid
e.js:49:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at multipart (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\e
xpress\node_modules\connect\lib\middleware\multipart.js:67:61)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:57:9
at urlencoded (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules
express\node_modules\connect\lib\middleware\urlencoded.js:54:72)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:55:7
GET /favicon.ico 500 2ms
Error: secret option required for sessions
at Object.session [as handle](C:UsersRodrigo Souzanode_modulesnode-ovh-
ipnode_modulesexpressnode_modulesconnectlibmiddlewaresession.js:228:24)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.cookieParser [as handle](C:UsersRodrigo Souzanode_modulesnode
-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewarecookieParser.js
:60:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.methodOverride [as handle](C:UsersRodrigo Souzanode_modulesno
de-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewaremethodOverrid
e.js:49:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at multipart (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\e
xpress\node_modules\connect\lib\middleware\multipart.js:67:61)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:57:9
at urlencoded (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules
express\node_modules\connect\lib\middleware\urlencoded.js:54:72)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:55:7
GET / 500 2ms
Error: secret option required for sessions
at Object.session [as handle](C:UsersRodrigo Souzanode_modulesnode-ovh-
ipnode_modulesexpressnode_modulesconnectlibmiddlewaresession.js:228:24)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.cookieParser [as handle](C:UsersRodrigo Souzanode_modulesnode
-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewarecookieParser.js
:60:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.methodOverride [as handle](C:UsersRodrigo Souzanode_modulesno
de-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewaremethodOverrid
e.js:49:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at multipart (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\e
xpress\node_modules\connect\lib\middleware\multipart.js:67:61)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:57:9
at urlencoded (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules
express\node_modules\connect\lib\middleware\urlencoded.js:54:72)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:55:7
GET /favicon.ico 500 1ms
Error: secret option required for sessions
at Object.session [as handle](C:UsersRodrigo Souzanode_modulesnode-ovh-
ipnode_modulesexpressnode_modulesconnectlibmiddlewaresession.js:228:24)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.cookieParser [as handle](C:UsersRodrigo Souzanode_modulesnode
-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewarecookieParser.js
:60:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.methodOverride [as handle](C:UsersRodrigo Souzanode_modulesno
de-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewaremethodOverrid
e.js:49:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at multipart (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\e
xpress\node_modules\connect\lib\middleware\multipart.js:67:61)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:57:9
at urlencoded (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules
express\node_modules\connect\lib\middleware\urlencoded.js:54:72)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:55:7
GET / 500 3ms
Error: secret option required for sessions
at Object.session [as handle](C:UsersRodrigo Souzanode_modulesnode-ovh-
ipnode_modulesexpressnode_modulesconnectlibmiddlewaresession.js:228:24)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.cookieParser [as handle](C:UsersRodrigo Souzanode_modulesnode
-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewarecookieParser.js
:60:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.methodOverride [as handle](C:UsersRodrigo Souzanode_modulesno
de-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewaremethodOverrid
e.js:49:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at multipart (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\e
xpress\node_modules\connect\lib\middleware\multipart.js:67:61)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:57:9
at urlencoded (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules
express\node_modules\connect\lib\middleware\urlencoded.js:54:72)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:55:7
GET /favicon.ico 500 1ms
Error: secret option required for sessions
at Object.session [as handle](C:UsersRodrigo Souzanode_modulesnode-ovh-
ipnode_modulesexpressnode_modulesconnectlibmiddlewaresession.js:228:24)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.cookieParser [as handle](C:UsersRodrigo Souzanode_modulesnode
-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewarecookieParser.js
:60:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.methodOverride [as handle](C:UsersRodrigo Souzanode_modulesno
de-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewaremethodOverrid
e.js:49:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at multipart (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\e
xpress\node_modules\connect\lib\middleware\multipart.js:67:61)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:57:9
at urlencoded (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules
express\node_modules\connect\lib\middleware\urlencoded.js:54:72)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:55:7
GET / 500 5ms
Error: secret option required for sessions
at Object.session [as handle](C:UsersRodrigo Souzanode_modulesnode-ovh-
ipnode_modulesexpressnode_modulesconnectlibmiddlewaresession.js:228:24)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.cookieParser [as handle](C:UsersRodrigo Souzanode_modulesnode
-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewarecookieParser.js
:60:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.methodOverride [as handle](C:UsersRodrigo Souzanode_modulesno
de-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewaremethodOverrid
e.js:49:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at multipart (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\e
xpress\node_modules\connect\lib\middleware\multipart.js:67:61)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:57:9
at urlencoded (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules
express\node_modules\connect\lib\middleware\urlencoded.js:54:72)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:55:7
GET /favicon.ico 500 2ms
Error: secret option required for sessions
at Object.session [as handle](C:UsersRodrigo Souzanode_modulesnode-ovh-
ipnode_modulesexpressnode_modulesconnectlibmiddlewaresession.js:228:24)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.cookieParser [as handle](C:UsersRodrigo Souzanode_modulesnode
-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewarecookieParser.js
:60:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.methodOverride [as handle](C:UsersRodrigo Souzanode_modulesno
de-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewaremethodOverrid
e.js:49:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at multipart (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\e
xpress\node_modules\connect\lib\middleware\multipart.js:67:61)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:57:9
at urlencoded (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules
express\node_modules\connect\lib\middleware\urlencoded.js:54:72)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:55:7
GET / 500 7ms
Error: secret option required for sessions
at Object.session [as handle](C:UsersRodrigo Souzanode_modulesnode-ovh-
ipnode_modulesexpressnode_modulesconnectlibmiddlewaresession.js:228:24)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.cookieParser [as handle](C:UsersRodrigo Souzanode_modulesnode
-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewarecookieParser.js
:60:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at Object.methodOverride [as handle](C:UsersRodrigo Souzanode_modulesno
de-ovh-ipnode_modulesexpressnode_modulesconnectlibmiddlewaremethodOverrid
e.js:49:5)
at next (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\expres
s\node_modules\connect\lib\proto.js:190:15)
at multipart (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\e
xpress\node_modules\connect\lib\middleware\multipart.js:67:61)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:57:9
at urlencoded (C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules
express\node_modules\connect\lib\middleware\urlencoded.js:54:72)
at C:\Users\Rodrigo Souza\node_modules\node-ovh-ip\node_modules\express\node
_modules\connect\lib\middleware\bodyParser.js:55:7
GET /favicon.ico 500 1ms

Hi,
Did you read the readme? You need to add a random string in your configuration file.
https://github.com/gierschv/node-ovh-ip/blob/master/README.md#setup

Vincent

but how to get random string.

How you generate your passwords?

Yes I did but it's keep posting internal server error

Sent from Yahoo Mail on Android