Make Packages List Issue by TERMINAL

Dear all,
I’ve an issue with the terminal of my Conda Environment when I try to execute the command:
***conda list --export > package-list.txt***

to make a list of the packages that are installed into this environment different from ‘base’ environment.

The issue was detected when I tried to export my environment to another Pc using file format .yml with this command:

***conda env export > environment.yml***

This picture shows the error:

Can You help me?

kind regards

Matteo Padalino