Error while running command develop: Could not load function DS_Store

System Information
  • Strapi Version: 7.20.2
  • Operating System: MAC OSx
  • Database: PostreSQL
  • Node Version: v14.17.1
  • NPM Version: 7.20.2
  • Yarn Version: 1.22.10

After running npm run develop i am receiving this message:
Error while running command develop: Could not load function /config/functions/.DS_Store: Invalid or unexpected token

Hi @Ariel_Lipschutz, did you get this working? I had a similar problem (and the same error msg), and found that I was able to resolve by rebuilding my repo. I am guessing something was corrupted in my webpack build files.

Best,

Dlinc