[SOLVED] API returns "Could not export"

Hi everyone,

we are heavily utilizing the PlayCanvas API for our Build Tool: https://blitz-build.com/

For a recent prototype project, the PlayCanvas API returned a “Could not export” Error, which seemed weird, since:

  • All of our other projects work with the same API calls
  • I was able to download the ZIP file, and even publish the game on PlayCanvas without problems

Now it turned out that when I remove the “.mjs” files (converted them to “.js” files), the build job runs flawlessly again.

I just wanted to post this here in case somebody else stumbles over a similar error.

@dave fyi

Have a wonderful day,
Rene

Dave isn’t part of the PlayCanvas team. Pinging @will instead :slight_smile:

1 Like