Comments (7)
Can you share the relevant code from your model? I think this would happen if you didn't pass in a schema. Also, make sure to run mrt update
because I didn't update the packages for 0.6.5 until yesterday.
from meteor-collection2.
testModel = new Meteor.Collection2("testForms",{
fName:{
type:String,
label: "First Name",
max: 25
},
mName:{
type:String,
label: "Middle Name",
max: 25,
optional: true
},
lName:{
type:String,
label: "Last Name",
max: 25
},
email:{
type:String,
label: "email",
regEx: SchemaRegEx.Email,
regExMessage: "is not a valid e-mail address"
}
});
from meteor-collection2.
I finally saw my error, sorry for wasting your time... i missed the schema: {} in my model.
from meteor-collection2.
I just tried Collection2 on meteor 0.6.4.1 and get this
=> Meteor 0.6.5 is available. Update this project with 'meteor update'.
No dependency info in bundle. Filesystem monitoring disabled.
=> Errors prevented startup:
Exception while bundling application:
TypeError: Object # has no method 'imply'
at null.on_use_handler (/Volumes/Hybrid/Users/fda/Documents/Development/Meteor/retrosoda/packages/collection2/package.js:6:9)
at .extend.use (/Volumes/Hybrid/Users/fda/.meteor/tools/d699ad29da/tools/bundler.js:464:11)
at self.api.use (/Volumes/Hybrid/Users/fda/.meteor/tools/d699ad29da/tools/bundler.js:114:21)
at Array.forEach (native)
at Function..each..forEach (/Volumes/Hybrid/Users/fda/.meteor/tools/d699ad29da/lib/node_modules/underscore/underscore.js:78:11)
at Object.self.api.use (/Volumes/Hybrid/Users/fda/.meteor/tools/d699ad29da/tools/bundler.js:110:9)
at null.on_use_handler (/Volumes/Hybrid/Users/fda/Documents/Development/Meteor/retrosoda/packages/autoform/package.js:10:9)
at .extend.use (/Volumes/Hybrid/Users/fda/.meteor/tools/d699ad29da/tools/bundler.js:464:11)
at self.api.use (/Volumes/Hybrid/Users/fda/.meteor/tools/d699ad29da/tools/bundler.js:114:21)
at Array.forEach (native)
at Function..each..forEach (/Volumes/Hybrid/Users/fda/.meteor/tools/d699ad29da/lib/node_modules/underscore/underscore.js:78:11)
at Object.self.api.use (/Volumes/Hybrid/Users/fda/.meteor/tools/d699ad29da/tools/bundler.js:110:9)
at _.extend.init_from_app_dir as on_use_handler
at _.extend.use (/Volumes/Hybrid/Users/fda/.meteor/tools/d699ad29da/tools/bundler.js:464:11)
at Object.exports.bundle (/Volumes/Hybrid/Users/fda/.meteor/tools/d699ad29da/tools/bundler.js:873:12)
at /Volumes/Hybrid/Users/fda/.meteor/tools/d699ad29da/tools/run.js:697:26
at exports.inFiber (/Volumes/Hybrid/Users/fda/.meteor/tools/d699ad29da/tools/fiber-helpers.js:24:12)
Please fix the problem and restart.
from meteor-collection2.
I will fix shortly.
from meteor-collection2.
mrt update
and try again. Should be fixed now.
from meteor-collection2.
It works!!! Thanks
from meteor-collection2.
Related Issues (20)
- Upsert no longer works in 3.0.5
- Duplicate key errors not correctly reporting (no Meteor.Error) HOT 3
- Migration from Meteor 1.4 to 1.9, Collection 2 from 2.10 to 3.0, SimpleSchema with meteor-collection2 error on unique option HOT 3
- Can't update the collection HOT 3
- Dynamic Schema with Validation HOT 10
- Is it possible to create field type that takes key and value pair? HOT 4
- Writing a robust updatedAt autoValue HOT 4
- CONTRIBUTING.md is missing HOT 1
- Breaking change in v3.2.0 for extending schemas HOT 2
- Delete the name of collections in error messages HOT 5
- Question: A way to log all errors without actually throwing them? HOT 1
- Does not work with `$[]` positional operator HOT 1
- relplace lodash with underscore HOT 3
- FLE-Encryption HOT 3
- Expose defaultCleanOptions HOT 10
- Apply `defaultValue` on `fetch` HOT 6
- Stub exceptions are logged instead of thrown in Meteor Methods, preventing throwStubExceptions from working as intended
- Meteor 3.0 potential bug HOT 6
- 4.0 load function is not dynamic HOT 2
- Insert with 'bypassCollection2: true' throws an exception HOT 3
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-collection2.