Skip to content

gemini-flow init --sparc issue #1

@dhrub-git

Description

@dhrub-git

Getting this error while I am doing init. So, can you please have a look?

gemini-flow init --sparc
/usr/local/lib/node_modules/gemini-code-flow/dist/cli.js:12
const chalk_1 = __importDefault(require("chalk"));
^

Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/local/lib/node_modules/gemini-code-flow/node_modules/chalk/source/index.js from /usr/local/lib/node_modules/gemini-code-flow/dist/cli.js not supported.
Instead change the require of index.js in /usr/local/lib/node_modules/gemini-code-flow/dist/cli.js to a dynamic import() which is available in all CommonJS modules.
at Object. (/usr/local/lib/node_modules/gemini-code-flow/dist/cli.js:12:33) {
code: 'ERR_REQUIRE_ESM'
}

Node.js v20.10.0

Have setup the flow json as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions