Error [ERR_REQUIRE_ESM]: require() of ES Module
varnew opened this issue · 0 comments
varnew commented
Describe the bug
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/wx/Documents/tuchuan_gitlab/borrowing-admin-web/src/locales/langs/zh-CN/app.js from /Users/wx/.vscode/extensions/lokalise.i18n-ally-2.12.0/assets/loader.js not supported.
Instead change the require of app.js in /Users/wx/.vscode/extensions/lokalise.i18n-ally-2.12.0/assets/loader.js to a dynamic import() which is available in all CommonJS modules.