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

circular dependency warnings #53

Open
birm opened this issue Aug 24, 2020 · 3 comments
Open

circular dependency warnings #53

birm opened this issue Aug 24, 2020 · 3 comments
Assignees

Comments

@birm
Copy link
Member

birm commented Aug 24, 2020

ca-back     | (node:28) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
ca-back     | (Use `node --trace-warnings ...` to show where the warning was created)
ca-back     | (node:28) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
ca-back     | (node:28) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
ca-back     | (node:28) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency

@ develop

@birm birm self-assigned this Aug 24, 2020
@akhil-rana
Copy link
Contributor

This seems like a problem with mongo db as mentioned here too.
Since we've updated node to 14.0 it seems to trigger this now. Updating mongodb might be a solution.

@siddhanth339
Copy link
Contributor

Running npm update solved the issue. So, I think adding npm update after this line in Caracal/Dockerfile will solve the problem. Should I make a pull request with the above change?

@birm
Copy link
Member Author

birm commented May 7, 2021

I'm not a big fan of having the dockerfile update, it's good to have predictable dependencies a la package lock. I've updated the dependencies though - faa16df

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

3 participants