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

App doesn't start #7

Open
jleppert opened this issue Apr 20, 2015 · 6 comments
Open

App doesn't start #7

jleppert opened this issue Apr 20, 2015 · 6 comments

Comments

@jleppert
Copy link
Collaborator

backbone-relational-tutorial]$ node app

/Users/jleppert/devel/backbone-relational-tutorial/node_modules/mongoose/lib/schema.js:276
throw new TypeError('Invalid value for schema Array path '+ prefix + ke ^ TypeError: Invalid value for schema Array pathmessages`
at Schema.add (/Users/jleppert/devel/backbone-relational-tutorial/node_modules/mongoose/lib/schema.js:276:13)
at new Schema (/Users/jleppert/devel/backbone-relational-tutorial/node_modules/mongoose/lib/schema.js:87:10)
at Object. (/Users/jleppert/devel/backbone-relational-tutorial/models.js:13:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/Users/jleppert/devel/backbone-relational-tutorial/app.js:33:14)

@antoviaque
Copy link
Owner

@jleppert I don't have a lot of time to maintain this anymore - if I gave you commit access, would you be willing to fix this?

@jleppert
Copy link
Collaborator Author

Sure, or I can send you a pull request tomorrow

@gavinprice
Copy link

Are you guys gonna fix this @jleppert or @antoviaque ??

@antoviaque
Copy link
Owner

@gavinprice As mentioned above I don't have time for maintening this - but I've just given you collaborator rights @jleppert if you still want to fix this. Thank you btw : )

@SeaBassTian
Copy link

I got the same errors as JL while running app.js. If any1 gets around to fixing this, please let me know.

@jleppert
Copy link
Collaborator Author

A simple fix is to remove the version carets from the included package.json dependencies, remove your node modules directory and reinstall the modules. It works with the older versions.

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

4 participants