Langchain does not build #5009
-
Checked other resources
Commit to Help
Example CodeNo code DescriptionI'm trying to build a custom agent in javascript, to run DAX queries for Power BI. There is an equivalent in python, so I tried following the guideline to contribute: https://js.langchain.com/docs/contributing . I forked the project and cloned in into my machine, but the project doesn't build. I ran yarn and yarn build in {project}/langchain and {project}/langchain-community, but I always get errors: ➤ YN0009: │ @raycast/api@npm:1.55.2 [cedfb] couldn't be built successfully (exit code 127, logs can be found here: C:\Users\Rod\AppData\Local\Temp\xfs-537fbbc2\build.log) This is the content of the log: Script name: postinstallfor some reason there are no directory symbols in the path yarn build obviously fails System Info└─ langchain@workspace:langchain |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Based on the error message you provided, it seems like the issue is related to the A similar issue was encountered and resolved in the past. You can refer to the issue here. The solution was to use a Unix-like environment on the Windows system, such as Git Bash, Cygwin, or Windows Subsystem for Linux (WSL). This would allow you to run Alternatively, you could try installing the Regarding the path formatting issue, it's a common problem when developing on Windows, as Windows uses backslashes ( To resolve this issue, consider the following steps:
Please try the suggested solutions and let me know if the issue persists. Sources
|
Beta Was this translation helpful? Give feedback.
I faced the same kind of issue using Windows. I've switched to WSL (not in a mounted directory) which works without issue. If that's an option for you, I recommend it.