[SOLVED] How to fix Error saving file in CLI cloud admin

Hi, I meet a problem when run admin-cli cloud function in client as image below, how to fix it, thank?

err

I don’t know, did it work previously?
if you close it and start it again it works?

ok , i Fixed my error by remove cloud folder on local and create new!

1 Like

I had the same issue. For me, the issue was caused when I was using the same line code of code in every function file const logger = Moralis.Cloud.getLogger();. I created a commonFunction.js and added all the common code there, and then it was fixed. Hope this Helps