Babel issue from writing to its cache file

I am attempting to set up a local p5.js project. When I run the following command:

docker-compose -f docker-compose-development.yml run --rm app npm run fetch-examples

I encounter the following error:

Getting p5 user
Babel could not write cache to file: /usr/src/app/node_modules/.cache/@babel/register/.babel.7.22.5.development.json
due to a permission issue. Cache is disabled.
Deleting old projects...

Operating System: Ubuntu

I have deleted all the projects completely and repeated this process more than 4 to 5 times. Additionally, I have cleared all Docker images and thoroughly cleaned everything.