how to install nodebb in centos
-
i tried to install but got in trouble in the end
npm ERR! Error: SELF_SIGNED_CERT_IN_CHAIN
npm ERR! at SecurePair.<anonymous> (tls.js:1362:32)
npm ERR! at SecurePair.EventEmitter.emit (events.js:92:17)
npm ERR! at SecurePair.maybeInitFinished (tls.js:974:10)
npm ERR! at CleartextStream.read [as _read] (tls.js:462:15)
npm ERR! at CleartextStream.Readable.read (_stream_readable.js:320:10)
npm ERR! at EncryptedStream.write [as _write] (tls.js:366:25)
npm ERR! at doWrite (_stream_writable.js:221:10)
npm ERR! at writeOrBuffer (_stream_writable.js:211:5)
npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:180:11)
npm ERR! at write (_stream_readable.js:583:24)
npm ERR! at flow (_stream_readable.js:592:7)
npm ERR! at Socket.pipeOnReadable (_stream_readable.js:624:5)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]npm ERR! System Linux 2.6.32-358.el6.i686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /root/mynodebb
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm http GET https://registry.npmjs.org/marked/0.2.8
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/node-imagemagick/0.1.8
npm http GET https://registry.npmjs.org/emailjs/0.3.4
npm http GET https://registry.npmjs.org/gravatar/1.0.6
npm http GET https://registry.npmjs.org/nconf
npm http GET https://registry.npmjs.org/less-middleware/0.1.12
npm http GET https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/reds
npm http GET https://registry.npmjs.org/sitemap
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/rss
npm http GET https://registry.npmjs.org/validator
npm http GET https://registry.npmjs.org/nodebb-plugin-mentions
npm http GET https://registry.npmjs.org/nodebb-theme-vanilla
npm http GET https://registry.npmjs.org/nodebb-theme-cerulean
npm http GET https://registry.npmjs.org/passport-facebook/0.1.5
npm http GET https://registry.npmjs.org/prompt
npm http GET https://registry.npmjs.org/nodebb-plugin-markdown
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/xregexp
npm http GET https://registry.npmjs.org/redis/0.8.3
npm http GET https://registry.npmjs.org/nodebb-theme-lavender
npm http GET https://registry.npmjs.org/string
npm http GET https://registry.npmjs.org/bcryptjs
npm http GET https://registry.npmjs.org/cron
npm http GET https://registry.npmjs.org/socket.io-wildcard
npm http GET https://registry.npmjs.org/connect-mongo/0.4.0
npm http GET https://registry.npmjs.org/hiredis
npm http GET https://registry.npmjs.org/nodebb-plugin-sso-facebook
npm http GET https://registry.npmjs.org/connect-redis/1.4.5
npm http GET https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/nodebb-plugin-sso-twitter
npm http GET https://registry.npmjs.org/nodebb-plugin-sso-google
npm http GET https://registry.npmjs.org/express/3.2.0
npm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing hiredis@~0.1.15
npm http GET https://registry.npmjs.org/socket.io
npm WARN optional dep failed, continuing nodebb-plugin-sso-facebook@~0.1.0
npm http GET https://registry.npmjs.org/mocha
npm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing nodebb-plugin-sso-google@~0.1.0
npm WARN optional dep failed, continuing mongodb@~1.3.19
npm WARN optional dep failed, continuing nodebb-plugin-sso-twitter@~0.1.0
npm WARN optional dep failed, continuing [email protected]
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/mynodebb/npm-debug.log
npm ERR! not ok code 0