-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
@langchain/core not installed by default? #3990
Comments
🤖 Hey @garmeeh! How's it going? I'm Dosu, a friendly bot here to help you out while we wait for a human maintainer to step in. I'm equipped to assist with bug resolutions, answer questions, and generally help you become a contributor. Looking forward to helping you navigate through this issue! The This is why the documentation suggests adding a Here's the relevant excerpt from the documentation: "These packages, as well as the main LangChain package, all depend on So, while you don't need to install As for the exact relationship between the However, the package.json file does not explicitly specify a dependency relationship between The scripts section does show that Therefore, based on the provided context, the exact relationship in terms of dependencies between I hope this clarifies your question. If you have any more questions or need further clarification, feel free to ask. Best, SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
It is a dependency of all packages: https://github.com/langchain-ai/langchainjs/blob/main/langchain/package.json#L1206 What is the error you're seeing? |
Could be some Typescript setting? If you look in your node modules is it there? The fix for now is to just install them manually and possibly set overrides. |
I am facing same issue |
Hi, @garmeeh, I'm helping the langchainjs team manage their backlog and am marking this issue as stale. From what I understand, the issue you raised regarding the installation of the @langchain/core package has been resolved. It was clarified that @langchain/core is automatically installed along with langchainjs and is a dependency of all packages. Users may need to specify its version in their package.json when using other packages that extend it. Could you please confirm if this issue is still relevant to the latest version of the langchainjs repository? If it is, please let the langchainjs team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days. Thank you for your understanding and contribution to the langchainjs project. I (Dosu) |
In the docs it states:
But if I want to import a type, for example:
I need to install it separately.
The text was updated successfully, but these errors were encountered: