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

运行项目不成功, 能麻烦看看什么原因吗? #4

Open
Craig-Cheng opened this issue Feb 28, 2018 · 2 comments
Open

运行项目不成功, 能麻烦看看什么原因吗? #4

Craig-Cheng opened this issue Feb 28, 2018 · 2 comments

Comments

@Craig-Cheng
Copy link

PS D:\projectFile\vue-node-pastime> node app.js
Express started in development mode on http://localhsot:4000
(node:116080) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): MongoError: not authorized on vnpastime to execute command { count: "videos", query: {} }
(node:116080) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:116080) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): MongoError: not authorized on vnpastime to execute command { count: "videos", query: {} }

@Craig-Cheng
Copy link
Author

配置这方面没接触过, 所以也是边谷歌边弄了数据库, 然后进行到这一步有点卡住了。。能麻烦看看吗?

@lumos102
Copy link

是不是node版本的问题诶

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

2 participants