who did connect to Azure Cosmos DB ? help me on this..
blueshu
Posts
-
Help me on connect to Azure mongoDB -
Help me on connect to Azure mongoDByeah, I try just update url and add ?ssl=true... It give me some error:
No more documents in tailed cursor {"name":"MongoError","tailable":true,"awaitData":true}
I think this may caused by mongodb settings.... -
Help me on connect to Azure mongoDBNow I am try to build my forum with NodeBB, try to connect to Azure mongoDB
when setup it's ok .. create NodeBB(DB with add ssl = true) into my Azure mongoDB.
But in socket hand socketAdapter() it's can't connection(time out)then I add ssl= true like this in mongo.js
mongoModule.socketAdapter = function () { var mongoAdapter = require('socket.io-adapter-mongo'); return mongoAdapter(mongoModule.getConnectionString(),{ssl:true}); };
It's ok connect successfully... But then give me another error:
error: No more documents in tailed cursor {"name":"MongoError","tailable":true,"awaitData":true}Please help me....
Thanks
-
How to implement nodebb-plugin-sso-oauth@pichalite I am still confused that. it need update after install. But our node_module files always in ignore... so I don't thinks it's a good way to put plugs into node_module....
-
I got a error when installI am now working in mac os.
step 1: git clone -b v1.10.x https://github.com/NodeBB/NodeBB.git
step 2: ./nodebb setup
then I am got two errors:**BB/node_modules/sharp/install/libvips.js:77
throw err;
^Error: connect ECONNREFUSED 127.0.0.1:443
at Object._errnoException (util.js:992:11)
at _exceptionWithHostPort (util.js:1014:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
TOUCH Release/obj.target/libvips-cpp.stamp
CXX(target) Release/obj.target/sharp/src/common.o
../src/common.cc:25:10: fatal error: 'vips/vips8' file not found
#include <vips/vips8>
^~~~~~~~~~~~
1 error generated.
make: *** [Release/obj.target/sharp/src/common.o] Error 1
gyp ERR! build error
gyp ERR! stack Error:make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd **BB/node_modules/sharp
gyp ERR! node -v v8.11.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN [email protected] requires a peer of eslint@^4.9.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install:(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /**/.npm/_logs/2018-10-16T03_08_01_571Z-debug.log
Error installing dependencies!
message: Command failed: npm install --production
stdout: null
stderr: null
**BB/src/cli/package-install.js:54
throw e;
^Error: Command failed: npm install --production
at checkExecSyncError (child_process.js:601:13)
at Object.execSync (child_process.js:641:13)
at Object.installAll (**BB/src/cli/package-install.js:45:9)
at Object.<anonymous> (**BB/src/cli/index.js:58:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)