Simply adding RemoteDDP("http://localhost:5000") in lib/common.js folder throws the following error:
ReferenceError: RemoteDDP is not defined
lib/collections.js:1:1
/Users/insaneinc/projects/react/clientpro/.meteor/local/build/programs/server/app/lib/collections.js:18:4
/Users/insaneinc/projects/react/clientpro/.meteor/local/build/programs/server/boot.js:242:10
Array.forEach (native)
Function._.each._.forEach (/Users/insaneinc/.meteor/packages/meteor-tool/.1.1.10.2npnf5++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
/Users/insaneinc/projects/react/clientpro/.meteor/local/build/programs/server/boot.js:137:5
No error on the client though.
This is a noob question, but i expected to be able to access the server collections one the connection is established. I have the same server side collections also defined in the lib/collections.js file.
Hello,
Simply adding
RemoteDDP("http://localhost:5000")
in lib/common.js folder throws the following error:No error on the client though. This is a noob question, but i expected to be able to access the server collections one the connection is established. I have the same server side collections also defined in the lib/collections.js file.
Any info please? Thanks.