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

var skinClassName = 'Skin' + NativeClass.name; when running node server.js #9

Open
julianpinedayyz opened this issue Mar 2, 2016 · 3 comments

Comments

@julianpinedayyz
Copy link

npm WARN EPEERINVALID [email protected] requires a peer of mongodb@~1.4 but none was installed.
npm WARN EPEERINVALID [email protected] requires a peer of jasmine-core@* but none was installed.
npm WARN EPEERINVALID [email protected] 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!

@Leonab
Copy link

Leonab commented Mar 6, 2016

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.

@jagroop
Copy link

jagroop commented Apr 22, 2016

getting same error .. any luck ?? :/

@qramilq
Copy link

qramilq commented May 27, 2016

Try to reinstall agenda and mongoskin packages.
npm uninstall mongoskin --save
npm uninstall agenda --save
npm install mongoskin --save
npm install agenda --save
That helps for me

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