Test Server without Docker on Debian 12

Hello,

I followed the instructions partially, and on Debian 12, based on this guide:
https://github.com/laurent22/joplin/blob/dev/Dockerfile.server

I start the server with PM2 using the application name, and I can access the server via HTTP or HTTPS.

However, I am facing an issue with CSS and JS files, even though the files are present in the node_modules/ directory.

I can't seem to understand what's going wrong. I've been troubleshooting for several days, and now I'm out of ideas.

Here are the last 15 lines of the log (.pm2/logs/joplin-server-test-error.log):

0|joplin-s |   syscall: 'open',
0|joplin-s |   path: 'node_modules/@fortawesome/fontawesome-free/css/all.min.css'
0|joplin-s | }
0|joplin-s | 2024-11-25 23:44:20: [error] App: ::ffff:ip [Error: ENOENT: no such file or directory, open 'node_modules/jquery/dist/jquery.min.js'] {
0|joplin-s |   errno: -2,
0|joplin-s |   code: 'ENOENT',
0|joplin-s |   syscall: 'open',
0|joplin-s |   path: 'node_modules/jquery/dist/jquery.min.js'
0|joplin-s | }
0|joplin-s | 2024-11-25 23:44:20: [error] App: ::ffff:ip [Error: ENOENT: no such file or directory, open 'node_modules/jquery/dist/jquery.min.js'] {
0|joplin-s |   errno: -2,
0|joplin-s |   code: 'ENOENT',
0|joplin-s |   syscall: 'open',
0|joplin-s |   path: 'node_modules/jquery/dist/jquery.min.js'
0|joplin-s | }

I am currently using Joplin Server version 3.2.0, and I know that this version is not officially supported. I am running the server as the root user, and I have verified that the directory permissions are correct.

I would really like to understand what is causing the issue, and I am truly grateful for the work that the community and the creator of this amazing app have put into it. Any help or insights would be greatly appreciated!