-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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] Can't Add Credentials on Latest Version #1766
Comments
I have the same problem locally. I tried downgrading to flowise version 1.4.0, but the problem is still there. |
I can reproduce this locally using the latest version of Flowise from GitHub. Is there any system information which you would like me to provide to help with debugging? |
Just launched a new version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Just made deploy on Huggingface following instructions but can't add credentials, this is the console log:
`
===== Application Startup at 2024-02-20 11:25:37 =====
2024-02-20 11:27:08 [INFO]: Starting Flowise...
2024-02-20 11:27:08 [INFO]: ⚡️ [server]: Flowise Server is listening at 7860
2024-02-20 11:27:08 [INFO]: 📦 [server]: Data Source has been initialized!
2024-02-20 11:27:10 [ERROR]: ❌ [server]: Error during Data Source initialization: require() of ES Module /usr/local/lib/node_modules/flowise/node_modules/json-with-bigint/json-with-bigint.js from /usr/local/lib/node_modules/flowise/node_modules/@qdrant/openapi-typescript-fetch/dist/cjs/fetcher.js not supported.
Instead change the require of json-with-bigint.js in /usr/local/lib/node_modules/flowise/node_modules/@qdrant/openapi-typescript-fetch/dist/cjs/fetcher.js to a dynamic import() which is available in all CommonJS modules.
Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/local/lib/node_modules/flowise/node_modules/json-with-bigint/json-with-bigint.js from /usr/local/lib/node_modules/flowise/node_modules/@qdrant/openapi-typescript-fetch/dist/cjs/fetcher.js not supported.
Instead change the require of json-with-bigint.js in /usr/local/lib/node_modules/flowise/node_modules/@qdrant/openapi-typescript-fetch/dist/cjs/fetcher.js to a dynamic import() which is available in all CommonJS modules.
at Object. (/usr/local/lib/node_modules/flowise/node_modules/@qdrant/openapi-typescript-fetch/dist/cjs/fetcher.js:5:28)
at Object. (/usr/local/lib/node_modules/flowise/node_modules/@qdrant/openapi-typescript-fetch/dist/cjs/index.js:4:22)
at Object. (/usr/local/lib/node_modules/flowise/node_modules/@qdrant/js-client-rest/dist/cjs/api-client.js:4:36)
at Object. (/usr/local/lib/node_modules/flowise/node_modules/@qdrant/js-client-rest/dist/cjs/qdrant-client.js:5:25)
at Object. (/usr/local/lib/node_modules/flowise/node_modules/@qdrant/js-client-rest/dist/cjs/index.js:18:26)
at Object. (/usr/local/lib/node_modules/flowise/node_modules/flowise-components/dist/nodes/vectorstores/Qdrant/Qdrant.js:4:26)
at /usr/local/lib/node_modules/flowise/dist/NodesPool.js:32:42
at Array.map ()
at NodesPool.initializeNodes (/usr/local/lib/node_modules/flowise/dist/NodesPool.js:30:38)
at async NodesPool.initialize (/usr/local/lib/node_modules/flowise/dist/NodesPool.js:20:9)
at async /usr/local/lib/node_modules/flowise/dist/index.js:78:13
Error: Node qdrant not found
at /usr/local/lib/node_modules/flowise/dist/index.js:229:23
at Layer.handle [as handle_request] (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/layer.js:95:5)
at next (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/route.js:144:13)
at Route.dispatch (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/route.js:114:3)
at Layer.handle [as handle_request] (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/layer.js:95:5)
at /usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:284:15
at param (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:365:14)
at param (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:376:14)
at Function.process_params (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:421:3)
at next (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:280:10)
at sanitizeMiddleware (/usr/local/lib/node_modules/flowise/dist/utils/XSS.js:24:5)
at Layer.handle [as handle_request] (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:328:13)
at /usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:346:12)
at next (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:280:10)
Error: Credential azureOpenAIApi not found
at /usr/local/lib/node_modules/flowise/dist/index.js:197:27
at Layer.handle [as handle_request] (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/layer.js:95:5)
at next (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/route.js:144:13)
at Route.dispatch (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/route.js:114:3)
at Layer.handle [as handle_request] (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/layer.js:95:5)
at /usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:284:15
at param (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:365:14)
at param (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:376:14)
at Function.process_params (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:421:3)
at next (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:280:10)
at sanitizeMiddleware (/usr/local/lib/node_modules/flowise/dist/utils/XSS.js:24:5)
at Layer.handle [as handle_request] (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:328:13)
at /usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:346:12)
at next (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:280:10)
Error: Credential azureOpenAIApi not found
at /usr/local/lib/node_modules/flowise/dist/index.js:197:27
at Layer.handle [as handle_request] (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/layer.js:95:5)
at next (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/route.js:144:13)
at Route.dispatch (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/route.js:114:3)
at Layer.handle [as handle_request] (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/layer.js:95:5)
at /usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:284:15
at param (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:365:14)
at param (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:376:14)
at Function.process_params (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:421:3)
at next (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:280:10)
at sanitizeMiddleware (/usr/local/lib/node_modules/flowise/dist/utils/XSS.js:24:5)
at Layer.handle [as handle_request] (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:328:13)
at /usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:346:12)
at next (/usr/local/lib/node_modules/flowise/node_modules/express/lib/router/index.js:280:10)
`
To Reproduce
Try to add credentials for any service on any screen.
Setup
The text was updated successfully, but these errors were encountered: