vitepress
vitepress copied to clipboard
build error with code: ERR_REQUIRE_ESM
Describe the bug
I used the third part lib named troisjs,
build error with code: ERR_REQUIRE_ESM
Reproduction
my project is at https://github.com/edgexie/edgexie.github.io with the action records , it show the error at build step, the error screen shot:
Expected behavior
build pass
System Info
sys: Windows 10 Version 21H2
node: 16.17.0
Additional context
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.