Issue with mongoskin
See original GitHub issue var skinClassName = 'Skin' + NativeClass.name;
^
TypeError: Cannot read property 'name' of undefined
at makeSkinClass (/Users/tacmarketing/WebstormProjects/tcomb-db/node_modules/monk/node_modules/mongoskin/lib/utils.js:33:43)
at Object.<anonymous> (/Users/tacmarketing/WebstormProjects/tcomb-db/node_modules/monk/node_modules/mongoskin/lib/admin.js:18:37)
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)
Currently can’t build monk and i’m not sure mongoskin will receive an update.
Are there any plans to remove mongoskin as a dependency?
Edit:
A temporary solution to fix this module would be to add mongodb@1.4.4 as a dependency as the issue stems from the fact that mongoskin switched (accidentially) to a peer dependency for mongodb@2.X which it does not support.
Issue Analytics
- State:
- Created 8 years ago
- Comments:27
Top Results From Across the Web
Issue with mongoskin · Issue #91 · Automattic/monk - GitHub
A temporary solution to fix this module would be to add mongodb@1.4.4 as a dependency as the issue stems from the fact that...
Read more >mongoskin and mongoose dependency error - Stack Overflow
I solved this issue by installing older versions of MongoDb. Follow these steps: npm uninsatll mongodb --save.
Read more >kissjs/node-mongoskin - Gitter
i have a problem with mongoskin: i want to run browserify and get "Error: Cannot find module './lib-cov/' from '<project_path>/node_modules/mongoskin'"
Read more >mongoskin - npm
Start using mongoskin in your project by running `npm i mongoskin`. There are 119 other projects in the npm registry using mongoskin.
Read more >"Cannot read property 'name' of undefined"-mongodb
This seems to be a problem with mongoskin module and not your code. Check the versions of your dependencies by running npm version...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ran into the same issue. Was able to fix with:
Which is what @DylanPiercey stated at the top.
I’m also concerned that this dependency issue has been open for 10 months.
666,thx