Can't sync cloud function

I’m using the moralis-admin-cli but I keep getting this error:
ncc: Version 0.29.2
ncc: Compiling file index.js into CJS
Error saving file, please try again

You can share more info about the error maybe you can share a shot of the error rather

That’s the only error I’m getting…I’m in auto-save mode by the way

I think I know what the issue was. I was declaring const logger = Moralis.Cloud.getLogger() in two files, outside the functions themselves. So basically all files have the same namespace?

Yes, all the files are going to be concatenated in a single file

3 Likes

Thanks, MVP :1st_place_medal: