How do I find the main directory of my Balena project?

So, I am hosting a discord bot with a Raspberry Pi 3 Model B and Balena, I want to find the directory of my project. For example, Error: Cannot find module '/home/app/node_modules/sqlite3/lib/binding/napi-v3-linux-arm/node_sqlite3.node' . I don’t know the directory of the project like is it on the root folder? Is it on /home/pi/app? In my computer, the directory is /Users/jlbubbles0920/Downloads/app.


The default directory will be the root so in your case it should be /pi/app, you can also set the WORKDIR in your Dockerfile to set the default project directory (see