Comments (6)
Hi, are you getting this error on the client or the server? At what point do you see it?
I think the problem may be with Meteor's load order rules (everything in the 'lib' directory will be loaded before other code). Try putting your code in a Meteor.startup()
block:
Meteor.startup(function(){
// your code
});
from meteor-json-collections.
I was referencing it in a file in my /lib folder. I'll try wrapping it in a startup method as you suggested.
from meteor-json-collections.
Yep, still same error, even when wrapped in a Meteor.startup.
The test json file lives at /private/tester.collection.json
from meteor-json-collections.
Hi Ken,
the file has to be named like this, otherwise it won’t be recognised and JSONCollections won’t exist:
something.collection_name.collection.json
On Mon, May 11, 2015 at 5:12 PM, Ken Wallace [email protected]
wrote:
Yep, still same error, even when wrapped in a Meteor.startup.
The test json file lives at /private/tester.collection.json
Reply to this email directly or view it on GitHub:
#1 (comment)
from meteor-json-collections.
That was it. Thanks!
from meteor-json-collections.
My pleasure, glad you got it working!
from meteor-json-collections.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-json-collections.