Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[BUG] Npx Installation Issue

Open omerxhafique opened this issue 11 months ago • 13 comments

After installing flowise, following errors are thrown when: npx flowise start

› ModuleLoadError: [MODULE_NOT_FOUND] require failed to load › /opt/homebrew/lib/node_modules/flowise/dist/commands/start.js: Cannot find › module '@opentelemetry/exporter-trace-otlp-proto' › Require stack: › - /opt/homebrew/lib/node_modules/flowise/node_modules/flowise-components/d › ist/src/handler.js › - /opt/homebrew/lib/node_modules/flowise/node_modules/flowise-components/d › ist/src/index.js › - /opt/homebrew/lib/node_modules/flowise/dist/utils/index.js › - /opt/homebrew/lib/node_modules/flowise/dist/index.js › - /opt/homebrew/lib/node_modules/flowise/dist/commands/start.js › - /opt/homebrew/lib/node_modules/flowise/node_modules/@oclif/core/lib/modu › le-loader.js › - /opt/homebrew/lib/node_modules/flowise/node_modules/@oclif/core/lib/conf › ig/plugin.js › - /opt/homebrew/lib/node_modules/flowise/node_modules/@oclif/core/lib/conf › ig/config.js › - /opt/homebrew/lib/node_modules/flowise/node_modules/@oclif/core/lib/conf › ig/index.js › - /opt/homebrew/lib/node_modules/flowise/node_modules/@oclif/core/lib/comm › and.js › - /opt/homebrew/lib/node_modules/flowise/node_modules/@oclif/core/lib/inde › x.js › - /opt/homebrew/lib/node_modules/flowise/bin/run › Code: MODULE_NOT_FOUND

omerxhafique avatar Mar 03 '25 07:03 omerxhafique

Same with mine!

rajkamal-007 avatar Mar 03 '25 23:03 rajkamal-007

Same here. Can we change the title of this issue to make it more relevant?

punu13 avatar Mar 06 '25 08:03 punu13

im having the same issue

aeaswar81 avatar Mar 13 '25 08:03 aeaswar81

Can you try install a specific version like npm install -g [email protected]

HenryHengZJ avatar Mar 13 '25 16:03 HenryHengZJ

npm install -g [email protected] Specific version Works

However npx update -g flowise && npx flowise start Gives me the same error

punu13 avatar Mar 15 '25 08:03 punu13

me too

Raycdnuaa avatar Mar 20 '25 17:03 Raycdnuaa

Same same. This module is not there: @opentelemetry/exporter-trace-otlp-proto

serhato avatar Mar 22 '25 12:03 serhato

+1 on that

cyb3rfox avatar Mar 23 '25 10:03 cyb3rfox

npm install -g [email protected]

Worked. Thanks.

MoRkusReX avatar Mar 24 '25 15:03 MoRkusReX

npm install -g [email protected] resolved this issue for me also, however the Custom MCP node is not available which is a shame.

kilkelly avatar Mar 30 '25 13:03 kilkelly

When installing the latest version of npm or any specific version like 2.2.7 or 2.2.6, this error blocks the installation. npm error code ETARGET npm error notarget No matching version found for @ai-sdk/[email protected]. npm error notarget In most cases you or one of your dependencies are requesting npm error notarget a package version that doesn't exist.

arjunsivarp avatar Apr 09 '25 02:04 arjunsivarp

This works for me finally:

npm install -g flowise @opentelemetry/exporter-trace-otlp-grpc @opentelemetry/exporter-trace-otlp-proto @opentelemetry/sdk-trace-node && npm install langchainhub && npx flowise start

csarnevesht avatar Apr 24 '25 22:04 csarnevesht

worked for mim, thanks for the help

RafaelTaves avatar May 20 '25 01:05 RafaelTaves

Same here, can't install it without specifying version.

phazei avatar May 27 '25 07:05 phazei

This works for me finally:

npm install -g flowise @opentelemetry/exporter-trace-otlp-grpc @opentelemetry/exporter-trace-otlp-proto @opentelemetry/sdk-trace-node && npm install langchainhub && npx flowise start

this is work for me thanks

AmirmohammadBeheshti avatar Jun 08 '25 09:06 AmirmohammadBeheshti

This works for me finally:

npm install -g flowise @opentelemetry/exporter-trace-otlp-grpc @opentelemetry/exporter-trace-otlp-proto @opentelemetry/sdk-trace-node && npm install langchainhub && npx flowise start

This enables me to run flowise, according the console messages:

2025-06-12 21:53:53 [INFO]: Starting Flowise... 2025-06-12 21:53:53 [INFO]: ⚡️ [server]: Flowise Server is listening at 3000 2025-06-12 21:53:53 [INFO]: 📦 [server]: Data Source is being initialized! 2025-06-12 21:53:55 [INFO]: 📦 [server]: Data Source has been initialized! 2025-06-12 21:54:04 [INFO]: ⬆️ POST /api/v1/auth/resolve

but I get an immediate /undefined in the browser when I try to access it. Any ideas? http://localhost:3000/undefined

The Chrome developer tools don't seem too useful but I do see the referer in the request header is coming from the login page:

referer http://localhost:3000/login

any ideas?

j8edev avatar Jun 13 '25 05:06 j8edev