Closed seb-tc closed 8 months ago
nodes/chatmodels/AWSBedrock/AWSChatBedrock.ts:4 nodes/llms/AWSBedrock/AWSBedrock.ts:4
raised a PR to fix the build failure :: https://github.com/FlowiseAI/Flowise/pull/1914
Just tested, that fixed the issue thanks guys!
Describe the Bug
During the build process of the Flowise project, two main issues are encountered. First, the
babel-preset-react-app
package is importing the@babel/plugin-proposal-private-property-in-object
package without declaring it in its dependencies. Second, thelangchain/dist/util/bedrock
module cannot be found, causing errors inAWSChatBedrock.ts
andAWSBedrock.ts
.To Reproduce
Steps to reproduce the behavior:
yarn install
to install dependencies.yarn build
to build the project.babel-preset-react-app
andlangchain/dist/util/bedrock
.Expected Behavior
The build process should complete without any errors, and all dependencies should be correctly declared and found.
Setup
yarn start
Additional Context
The error messages suggest two potential solutions. For the
babel-preset-react-app
issue, adding@babel/plugin-proposal-private-property-in-object
to the project'sdevDependencies
might resolve the problem. For thelangchain/dist/util/bedrock
issue, ensuring that thelangchain
package is correctly installed and that the path to thebedrock
module is correct might solve the issue.