-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] pnpm start fails #3335
Comments
Do you have node >= 18.15.0? |
Yes I am using Node v20 on Apple M1 |
I have the same issue, both locally and when deploying to Railway. Currently running (successfully) 1.8.2 and trying to update to 2.1.3 When upgrading the nodes of existing flows are no longer recognised - And when trying to add a node, the list is not fully populated. Many "tools" / "agents" are missing. I get the same error as above, across a lot of modules: flowise:dev: Error: Cannot find module 'C:\Users\Andrew\Desktop\Projects_Client\Flowise\node_modules.pnpm@[email protected][email protected]\node_modules\openai\helpers\zod.js'
NodeLocally v20.10.0 Windows References |
same issue, any updates? |
Fix FlowiseAI#3335 and FlowiseAI#3067 openai helpers was introduced in 4.57.3: openai/openai-node@1e9808a
Updating the openai resolution to "4.57.3" it fixes the issue. openai/helpers was created on 4.57.3 here is the PR: |
Describe the bug
Starting the flowise using pnpm or docker (tried both approaches) give below errors, It opens the flowise app locally but it doens't have most of the agents installed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Start the flowise app with all the modules but it gives errors
Screenshots
If applicable, add screenshots to help explain your problem.
Flow
If applicable, add exported flow in order to help replicating the problem.
Setup
npx flowise start
,pnpm start
]Additional context
2024-10-11 15:00:24 [INFO]: Starting Flowise...
2024-10-11 15:00:24 [INFO]: 📦 [server]: Data Source is initializing...
2024-10-11 15:00:25 [ERROR]: ❌ [server]: Error during initDatabase with file /Users/sagarjani/Flowise/packages/server/node_modules/flowise-components/dist/nodes/agents/AirtableAgent/AirtableAgent.js: Cannot find module '/Users/sagarjani/Flowise/node_modules/.pnpm/@langchain[email protected][email protected]/node_modules/openai/helpers/zod.js'
Error: Cannot find module '/Users/sagarjani/Flowise/node_modules/.pnpm/@langchain[email protected][email protected]/node_modules/openai/helpers/zod.js'
at createEsmNotFoundErr (node:internal/modules/cjs/loader:1262:15)
at finalizeEsmResolution (node:internal/modules/cjs/loader:1250:15)
at resolveExports (node:internal/modules/cjs/loader:634:14)
at Module._findPath (node:internal/modules/cjs/loader:724:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1211:27)
at Module._load (node:internal/modules/cjs/loader:1051:27)
The text was updated successfully, but these errors were encountered: