-
Notifications
You must be signed in to change notification settings - Fork 232
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
var skinClassName = 'Skin' + NativeClass.name; when running node server.js #9
Comments
either remove the dependencies from package.json or add mongoskin etc to package.json via "npm install mongoskin --save". Though there's no need for mongoskin i reckon since mongoose is being used, try debugging yourself. |
getting same error .. any luck ?? :/ |
Try to reinstall agenda and mongoskin packages. |
npm WARN EPEERINVALID mongoskin@1.4.13 requires a peer of mongodb@~1.4 but none was installed.
npm WARN EPEERINVALID karma-jasmine@0.3.7 requires a peer of jasmine-core@* but none was installed.
npm WARN EPEERINVALID karma-phantomjs-launcher@0.2.3 requires a peer of phantomjs@>=1.9 but none was installed.
I get the previous after cloning the repo and running npm install.
If I run node server.js I get:
/tvshow-tracker/node_modules/mongoskin/lib/utils.js:33
var skinClassName = 'Skin' + NativeClass.name;
^
TypeError: Cannot read property 'name' of undefined
at makeSkinClass (/tvshow-tracker/node_modules/mongoskin/lib/utils.js:33:43)
at Object. (/tvshow-tracker/node_modules/mongoskin/lib/grid.js:6:35)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/tvshow-tracker/node_modules/mongoskin/lib/db.js:22:16)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/tvshow-tracker/node_modules/mongoskin/lib/mongo_client.js:5:14)
Any idea how can I correct the issue?
Thanks!
The text was updated successfully, but these errors were encountered: