Coder Social home page Coder Social logo

Comments (7)

aldeed avatar aldeed commented on June 30, 2024

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.

flean avatar flean commented on June 30, 2024

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.

flean avatar flean commented on June 30, 2024

I finally saw my error, sorry for wasting your time... i missed the schema: {} in my model.

from meteor-collection2.

flean avatar flean commented on June 30, 2024

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.

aldeed avatar aldeed commented on June 30, 2024

I will fix shortly.

from meteor-collection2.

aldeed avatar aldeed commented on June 30, 2024

mrt update and try again. Should be fixed now.

from meteor-collection2.

flean avatar flean commented on June 30, 2024

It works!!! Thanks

from meteor-collection2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.