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

Unable to run node initlangs.js without error #4

Closed
Ankatic opened this issue Jul 7, 2018 · 1 comment
Closed

Unable to run node initlangs.js without error #4

Ankatic opened this issue Jul 7, 2018 · 1 comment

Comments

@Ankatic
Copy link

Ankatic commented Jul 7, 2018

Hi,

Thanks for creating this project. It’ll definitely help my server and I once I get it working.

When I run node initlangs.js I get

(node:2305) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): MongoError: not authorized on enmap to execute command { find: "langs", filter: {} }
(node:2305) [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.

I followed all of the instructions, and I was wondering if there is anything I can do to get around this.

Thanks in advance,

Ankatic.

@eslachance
Copy link
Owner

That's a problem with your mongodb user not having the right to do something. It's not the code, it's your access to mongo that's the issue.

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