mongodb

1.安装下载 .tgz 包,将终端移至所在文件夹,sudo apt-get mongodb install

2.通过 npm install connect-mongo安装connect-mongo

3.通过 npm install express-sessionan安装express-sessiom

xixinhuan@xixinhuan-ThinkPad-Edge-E440:~/microblog$ npm install express-session
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No README data
npm ERR! fetch failed https://registry.npmjs.org/uid-safe/-/uid-safe-1.1.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/uid-safe/-/uid-safe-1.1.0.tgz
[email protected] node_modules/express-session
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected])

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。