Funnily enough, I got the error message and asked Claude Code, and it replied;
The warning can be suppressed by `--no-xattrs --no-mac-metadata`.
then just edited the code as - tar czf dist.tar.gz dist
+ COPYFILE_DISABLE=1 tar czf dist.tar.gz dist