Getting 404 page not found errors about the edx-ui-toolkit JS resources from the devstack LMS /login page. Any clues on what’s going wrong? Those files do exist in the file path.
I noticed that several Django settings had /opt/project/edx-platform rather than /edx/app/edxapp/edx-platform. Also the Docker LMS container path at /opt/project/edx-platform/node_modules/ is an empty directory. I’m thinking that the PIPELINE_JS base_vendor for node_modules/edx-ui-toolkit is breaking.
Seems to be an issue with staticfiles when running the PyCharm run/debug configuration. These 404 errors don’t seem to be happening when running make dev.up command.
Sorry @Zachary_Trabookis, I’ve been on vacation for the week, and now I’m starting on a new team, so I haven’t had any time to dig into this (I don’t use PyCharm myself). I will let you know if I get some time to dig into this, but don’t count on me.
For now I’m leaning more toward VS Code to debug edx-platform LMS service on devstack_docker rather than PyCharm. Let me know if anyone is able to get PyCharm working but in case anyone else is interest please look at this post from Open Craft Tutorial: Attaching Visual Studio Code to Devstack LMS Container on how to debug with VS Code.
PyCharm Debugging Status
At the moment I’ve got stuck here working with PyCharm. I tried setting up a symlink from /opt/project/edx-platform/node_modules → /edx/app/edxapp/edx-platform/node_modules but I got an error that there were
root@lms:/opt/project/edx-platform# cd node_modules
bash: cd: node_modules: Too many levels of symbolic links
Here is the Make target that I used to create the symbolic link manually.