Skip to content
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

'PQueueMod' only refers to a type, but is being used as a namespace here. #674

Closed
ashburnham opened this issue Apr 8, 2023 · 2 comments
Closed

Comments

@ashburnham
Copy link
Contributor

I cannot build on my Mac M1 machine using node v17.9.1 and 8.11.0 due to this error. I've just submitted a PR to fix it..

#673

node_modules/langchain/dist/util/async_caller.d.ts:30:22 - error TS2702: 'PQueueMod' only refers to a type, but is being used as a namespace here.

30 protected queue: PQueueMod.default;

@brunogarcia
Copy link

@ashburnham LangChainJS only works with "node": ">=18".

Check out the package.json:

https://github.com/hwchase17/langchainjs/blob/main/package.json#L5

@nfcampos
Copy link
Collaborator

nfcampos commented Apr 8, 2023

Resolved in #673 thanks @ashburnham for reporting

@nfcampos nfcampos closed this as completed Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants