Project not creating database & unknown errors

#1

I am new to Glitch, I managed to get my bot mostly working, however, my database is nowhere to be found, on my PC it works fine though.
The create is done on the ready.js file in the events folder
Link: https://glitch.com/~the-seer
EDIT: The file is created, I just can’t see it, any idea why?
No errors are given when trying to use commands that access the file, it reacts as if it exists.

Errors, unknown if they are related but;

    node v10.15.3, with pnpm

Installing...

 WARN  Moving better-sqlite3 that was installed by a different package manager to 
"node_modules/.ignored

ERROR  ENOTEMPTY: directory not empty, rename '/rbd/pnpm-volume/f50eb223-5c89-4be8-8a12- 
ab670d4e87cb/node_modules/better-sqlite3' -> '/rbd/pnpm-volume/f50eb223-5c89-4be8-8a12- 
ab670d4e87cb/node_modules/.ignored/better-sqlite3'
#2

Hi @RagnarLothbrok-Odin, welcome to the Glitch forum!

I think what you might be encountering is that files that are created or updated by the backend (that is to say, things created by code, for instance, or in the project console, as opposed to in the Editor itself) aren’t automatically synced with the Editor’s file list. They will show up after the project restarts, or if you type refresh into the project console

1 Like