Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RemoteDDP is not defined #4

Open
krishnaff opened this issue Oct 30, 2015 · 0 comments
Open

RemoteDDP is not defined #4

krishnaff opened this issue Oct 30, 2015 · 0 comments

Comments

@krishnaff
Copy link

Hello,

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.

Any info please? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant