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

Cannot find module 'zeromq' or its corresponding type declarations #651

Closed
6sigmadc opened this issue Aug 23, 2024 · 3 comments · Fixed by #652
Closed

Cannot find module 'zeromq' or its corresponding type declarations #651

6sigmadc opened this issue Aug 23, 2024 · 3 comments · Fixed by #652
Labels

Comments

@6sigmadc
Copy link

Describe the bug
I upgraded from v6.0.0-beta.20 to v6.0.2 but unfortunately it starts to report error - "Cannot find module 'zeromq' or its corresponding type declarations".
I compared the differences of the folder and files in node_modules folder between v6.0.0-beta.20 and v6.0.2, discovered that the folder lib/ts3.7 is missing from v6.0.2.
As a test, I took a copy of the ts3.7 folder from v6.0.0-beta.20, upgrade to v6.0.2, and pasted the ts3.7 folder manually in the right place - that fixed the issue.

Reproducing
Upgrade from v6.0.0-beta.20 to v6.0.2

Expected behavior
typescript compiler should run correctly

Tested on

  • OS: Windows 11
  • ZeroMQ.js version: 6.0.2
  • Typescript: 5.4.5
@aminya
Copy link
Member

aminya commented Aug 23, 2024

Please try 6.0.3 and check if you still see the issue.

@6sigmadc
Copy link
Author

It works perfectly now in v6.0.4 - thanks for the prompt response.

On a different note, and for what it's worth, appreciate your work in zeromq and it is making a difference to the world for the better.

@aminya
Copy link
Member

aminya commented Aug 28, 2024

Thank you and you're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants