Skip to content

Updating keyed/maverick failed #1796

@krausest

Description

@krausest

s in #1789 I'm updating all implementations. Implementations that failed to update are moved in to the broken-frameworks folder.
Here's what I'm trying to update:

-        "maverick.js": "0.23.1"
+        "maverick.js": "0.43.2"
-        "@maverick-js/compiler": "0.23.1",
+        "@maverick-js/compiler": "0.37.0",

The build fails with the following error:

running 'npm run build-prod' in 'frameworks/keyed/maverick'

> [email protected] build-prod
> node build.js

/home/stefan/js-framework-benchmark/frameworks/keyed/maverick/build.js:1
const { esbuild: maverick } = require("@maverick-js/compiler");
                              ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /home/stefan/js-framework-benchmark/frameworks/keyed/maverick/node_modules/@maverick-js/compiler/dist/index.js from /home/stefan/js-framework-benchmark/frameworks/keyed/maverick/build.js not supported.
Instead change the require of index.js in /home/stefan/js-framework-benchmark/frameworks/keyed/maverick/build.js to a dynamic import() which is available in all CommonJS modules.
    at Object.<anonymous> (/home/stefan/js-framework-benchmark/frameworks/keyed/maverick/build.js:1:31) {
  code: 'ERR_REQUIRE_ESM'
}

@mihar-22 Can you take a look at this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions