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

moajs 对npm 版本有要求吗 #17

Open
zhongxia245 opened this issue May 21, 2016 · 0 comments
Open

moajs 对npm 版本有要求吗 #17

zhongxia245 opened this issue May 21, 2016 · 0 comments

Comments

@zhongxia245
Copy link

报这个错误, 是不是moajs 对 npm 的版本有要求?

mongodb://127.0.0.1:27017/test
fs.js:856
  return binding.readdir(pathModule._makeLong(path));
                 ^

Error: ENOENT: no such file or directory, scandir '/Users/zhongxia/Code/nodejs/api/node_modules/base2/node_modules/base2-express-middlewares/lib'
    at Error (native)
    at Object.fs.readdirSync (fs.js:856:18)
    at requireDirectory (/Users/zhongxia/Code/nodejs/api/node_modules/require-directory/index.js:59:6)
    at module.exports (/Users/zhongxia/Code/nodejs/api/node_modules/mount_plugin/index.js:3:13)
    at EventEmitter.app.mount_plugins (/Users/zhongxia/Code/nodejs/api/node_modules/base2/app.js:35:3)
    at Object.global_middlewares (/Users/zhongxia/Code/nodejs/api/node_modules/base2/lifecycle.js:41:11)
    at module.exports (/Users/zhongxia/Code/nodejs/api/node_modules/base2/app.js:90:8)
    at main (/Users/zhongxia/Code/nodejs/api/node_modules/base2/index.js:4:29)
    at Object.<anonymous> (/Users/zhongxia/Code/nodejs/api/app.js:8:27)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/Users/zhongxia/Code/nodejs/api/bin/www:7:11)
Program node ./bin/www exited with code 1

Starting child process with 'node ./bin/www'
log_path is exist, no operation!
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

1 participant