电脑是mac,node的版本是4.3.2 Error: Cannot find module './lib/topologies/server’ at Function.Module._resolveFilename (module.js:325:15) at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/Users/neal/Documents/nodejs/blog/node_modules/connect-mongo/node_modules/mongodb/node_modules/mongodb-core/index.js:3:13) at Module._compile (module.js:409:26) at Object.Module._extensions…js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/Users/neal/Documents/nodejs/blog/node_modules/connect-mongo/node_modules/mongodb/index.js:2:12) at Module._compile (module.js:409:26) at Object.Module._extensions…js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12)
问题没有上下文大家看了,都没啥感觉啊, 让人摸不着头脑的感觉~
路径问题吧,没找到server这个模块