Python Reflex: reflex init failed

reflex init failed because of a permission error (read only folder):

PermissionError: [Errno 13] Permission denied: ‘.web/package.json’

The reflex init command copies from the .template/ folder:

/nix/store/xxx-python3-3.12.7-env/lib/python3.12/site-packages/reflex/.template/

Since /nix/ is mounted read-only, all the template files and folders are also read-only when copied to the user project folder…

I tried to manually change the permission of the .web folder but since the init command never finishes it always copies the files and folders from the template read-only filesystem.

NixOS version: 24.11
Reflex package: python312Packages.reflex, 0.6.2.post1

Any ideas on how to solve this ?
Thanks!