-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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]It doesn't work when I add " const fs = require('fs');" to my custom tool #2397
Comments
Can't custom tools introduce packages about files and paths? So how to operate local files? |
its not allowed by default, because then it exposes huge risk for others to gain access to your file system. However, you can still import it via |
Flowise support different environment variables to configure your instance. You can specify the following variables in the .env file inside packages/server folder |
I did not install it with docker. Please help me point out the location of the .env file. I have been looking for it for a long time but could not find it. Thank you. |
@musuiot you have to create a new file |
It doesn't work when I add the following to my custom tool:
const fs = require('fs');
const path = require('path');
why?
The text was updated successfully, but these errors were encountered: