Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

[Bug]: gemini extensions install and npm install -g fail for gemini-flow #96

@DasBluEyedDevil

Description

@DasBluEyedDevil

Version

0.11.3

Environment

Node.js

What happened?

When attempting to install gemini-flow using either gemini extensions install https://github.com/clduab11/gemini-flow or npm install -g @clduab11/gemini-flow,
the installation fails.

Steps to Reproduce:

  1. Using gemini extensions install:
    1 gemini extensions install https://github.com/clduab11/gemini-flow

  2. Using npm install -g:
    1 npm install -g @clduab11/gemini-flow

Expected Behavior:

Actual Behavior:

  1. gemini extensions install fails with the following error:
    1 Configuration file not found at C:\Users\dasbl\AppData\Local\Temp\gemini-extension<random_string>\gemini-extension.json
    This is despite the fact that https://raw.githubusercontent.com/clduab11/gemini-flow/main/gemini-extension.json is accessible.

  2. npm install -g fails with the following error:

1 ReferenceError: require is not defined in ES module scope, you can use import instead
2 This file is being treated as an ES module because it has a '.js' file extension and
'C:\Users\dasbl\AppData\Roaming\npm\node_modules@clduab11\gemini-flow\package.json' contains "type": "module". To treat it as a CommonJS script, rename it to
use the '.cjs' file extension.
3 at file:///C:/Users/dasbl/AppData/Roaming/npm/node_modules/@clduab11/gemini-flow/scripts/postinstall.js:8:22

Expected behavior

The gemini-flow extension should install successfully.

Steps to reproduce

  1. Using gemini extensions install:
    gemini extensions install https://github.com/clduab11/gemini-flow

  2. Using npm install -g:
    npm install -g @clduab11/gemini-flow

Relevant log output

1. `gemini extensions install` fails with the following error:
Configuration file not found at C:\Users\dasbl\AppData\Local\Temp\gemini-extension<random_string>\gemini-extension.json
      This is despite the fact that https://raw.githubusercontent.com/clduab11/gemini-flow/main/gemini-extension.json is accessible.

   2. `npm install -g` fails with the following error:

 ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and
     'C:\Users\dasbl\AppData\Roaming\npm\node_modules\@clduab11\gemini-flow\package.json' contains "type": "module". To treat it as a CommonJS script, rename it to
     use the '.cjs' file extension.
at file:///C:/Users/dasbl/AppData/Roaming/npm/node_modules/@clduab11/gemini-flow/scripts/postinstall.js:8:22

Additional context

No response

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions