node-mongodb-native installation failed

61 views
Skip to first unread message

Beka Iglesias

unread,
Jun 27, 2014, 4:57:01 PM6/27/14
to node-mong...@googlegroups.com
Hello,

I have in our system (adtlantida.tv) running node.js as signalling server (in WebRTC arquitecture) and as a chat.I wanto to install node-mongodb-native to connect with mongodeGridFS in kurento arquitecture and kws-media-API library too.
Installation failed trying to install node-mongodb-native using npm install wth github url.My npm-debug.log is this one (below).Some suggestion, please?

Thanks,

Beka

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   'install',
1 verbose cli   'http://github.com/mongodb/node-mongodb-native' ]
2 info using n...@1.4.3
3 info using no...@v0.10.26
4 verbose cache add [ 'http://github.com/mongodb/node-mongodb-native', null ]
5 verbose cache add name=undefined spec="http://github.com/mongodb/node-mongodb-native" args=["http://github.com/mongodb/node-mongodb-native",null]
6 verbose parsed url { protocol: 'http:',
6 verbose parsed url   slashes: true,
6 verbose parsed url   auth: null,
6 verbose parsed url   host: 'github.com',
6 verbose parsed url   port: null,
6 verbose parsed url   hostname: 'github.com',
6 verbose parsed url   hash: null,
6 verbose parsed url   search: null,
6 verbose parsed url   query: null,
6 verbose parsed url   pathname: '/mongodb/node-mongodb-native',
6 verbose parsed url   path: '/mongodb/node-mongodb-native',
6 verbose parsed url   href: 'http://github.com/mongodb/node-mongodb-native' }
7 silly lockFile cd0fc58d--com-mongodb-node-mongodb-native http://github.com/mongodb/node-mongodb-native
8 verbose lock http://github.com/mongodb/node-mongodb-native /root/.npm/cd0fc58d--com-mongodb-node-mongodb-native.lock
9 verbose addRemoteTarball [ 'http://github.com/mongodb/node-mongodb-native', null ]
10 info retry fetch attempt 1 at 16:45:03
11 verbose fetch to= /root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/tmp.tgz
12 http GET http://github.com/mongodb/node-mongodb-native
13 http 200 http://github.com/mongodb/node-mongodb-native
14 verbose tar unpack /root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/tmp.tgz
15 silly lockFile 490686fb-03856-0-9834781372919679-package tar:///root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/package
16 verbose lock tar:///root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/package /root/.npm/490686fb-03856-0-9834781372919679-package.lock
17 silly lockFile 52ede5d2-03856-0-9834781372919679-tmp-tgz tar:///root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/tmp.tgz
18 verbose lock tar:///root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/tmp.tgz /root/.npm/52ede5d2-03856-0-9834781372919679-tmp-tgz.lock
19 silly gunzTarPerm modes [ '755', '644' ]
20 error not a package /root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/tmp.tgz
21 silly lockFile 490686fb-03856-0-9834781372919679-package tar:///root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/package
22 silly lockFile 490686fb-03856-0-9834781372919679-package tar:///root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/package
23 silly lockFile 52ede5d2-03856-0-9834781372919679-tmp-tgz tar:///root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/tmp.tgz
24 silly lockFile 52ede5d2-03856-0-9834781372919679-tmp-tgz tar:///root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/tmp.tgz
25 silly lockFile cd0fc58d--com-mongodb-node-mongodb-native http://github.com/mongodb/node-mongodb-native
26 silly lockFile cd0fc58d--com-mongodb-node-mongodb-native http://github.com/mongodb/node-mongodb-native
27 error Error: ENOENT, open '/root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/package/package.json'
28 error If you need help, you may report this *entire* log,
28 error including the npm and node versions, at:
28 error     <http://github.com/npm/npm/issues>
29 error System Linux 2.6.32-26-pve
30 error command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "http://github.com/mongodb/node-mongodb-native"
31 error cwd /usr/local/lib/node_modules
32 error node -v v0.10.26
33 error npm -v 1.4.3
34 error path /root/tmp/npm-23431-QVyQLoge/1403901903856-0.9834781372919679/package/package.json
35 error code ENOENT
36 error errno 34
37 verbose exit [ 34, true ]

Christian Kvalheim

unread,
Jun 27, 2014, 5:33:33 PM6/27/14
to node-mong...@googlegroups.com
I would not recommend using master as it's a developer branch and thus might break at any time. You are better of installing stable by doing

npm install mongodb

or latest by

npm install mongodb@latests
Reply all
Reply to author
Forward
0 new messages