daltonmenezes / aura-theme

✨ A beautiful dark theme for your favorite apps.
MIT License
3.21k stars 152 forks source link

CLI providing error when making port #146

Closed DanKlaver15 closed 2 years ago

DanKlaver15 commented 2 years ago

Receiving an error when using the make port command with the CLI. Error is [ERR_REQUIRE_ESM]: require() not supported. More verbose error message in the terminal shows it’s the cpy module. I was able to get it working by downgrading cpy to version 8.1.2 which was the last version built using CommonJS instead of ESM.

DanKlaver15 commented 2 years ago

Additional errors found when attempting to publish a port CleanShot 2022-04-14 at 09 36 08

daltonmenezes commented 2 years ago

Hi @DanKlaver15 , I just tried it now and everything is working as expected. Here are the version I'm running it on:

yarn v1.22.18
node v16.13.1

Can you try it please using these versions?

DanKlaver15 commented 2 years ago

@daltonmenezes I updated yarn and I think that did the trick since I was able to publish the PR for the Nova port earlier today.

daltonmenezes commented 2 years ago

@DanKlaver15 All right, I'm closing this issue for now, please let me know if you face any issues, thanks.