Error when running init-db.sh
bytersproblem opened this issue · 2 comments
bytersproblem commented
I am setting up a server on Debian stable. When I try to run /scripts/init-db.sh I get the following warnings and the database does not get initiaized:
(node:8583) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8583) Warning: Accessing non-existent property 'loglevel' of module exports inside circular dependency
Don-Swanson commented
I'm having the same issue, and my database is empty. Does anyone have any suggestions?
Don-Swanson commented
I actually figured it out.... Circular dependencies are no longer supported as of node v 14+, so you need to downgrade to an older version of Node to make it work. Hope that helps.