FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
31.34k stars 16.31k forks source link

[BUG] MODULE_NOT_FOUND : node_modules/openai/helpers/zod.js === since updating to 2.0.5 #3067

Closed Sarahkunk closed 1 day ago

Sarahkunk commented 2 months ago

Describe the bug Error on build time and run time :

[MODULE_NOT_FOUND] ModuleLoadError Plugin: flowise: [MODULE_NOT_FOUND] require failed to load /packages/server/dist/commands/start.js Cannot find module /node_modules/.pnpm/@langchain+openai@0.2.7_encoding@0.1.13_langchain@0.2.174oakmayaajwtwwxwds3rutg7xa/node_modules/openai/helpers/zod.js

module: @oclif/core@1.26.2 task: toCached plugin: flowise root: /packages/server

More specifically I think this occurred after the commit number d5153c384076d889ed6b70a0d1db6b51a2d472b2 but I haven't rolled back commits yet to pinpoint the exact commit. Any help would be really appreciated, thanksss

HenryHengZJ commented 2 months ago

is a clean install and fresh build works?

pnpm i
pnpm clean
pnpm build-force
sagar-jani commented 4 weeks ago

I am getting the same error with pnpm and docker both.