We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I just migrated my project to ESM. I get this error atm:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/hans/IdeaProjects/project_name/node_modules/@tsed/bullmq/lib/esm/dispatchers.js' imported from /Users/hans/IdeaProjects/project_name/node_modules/@tsed/bullmq/lib/esm/BullMQModule.js
When i look into @tsed/bullmq/lib/esm/BullMQModule.js, the line 8 is:
@tsed/bullmq/lib/esm/BullMQModule.js
import { JobDispatcher } from "./dispatchers.js";
while dispatchers is a folder, containing an index.js, so there is no file called dispatchers.js
dispatchers
index.js
dispatchers.js
Use the bullmq module in an esm project.
The import should be correct
No response
macOS
20.12.1
7.69.2
The text was updated successfully, but these errors were encountered:
It shouldn't be an issue to fix that ;)
Sorry, something went wrong.
fix(bullmq): fix imported path in BullMQModule to solve ESM import issue
2069ab8
Closes: #2705
a06a20a
If you appreciated the support, know that it is free and is carried out on personal time ;)
A support, even a little bit makes a difference for me and continues to bring you answers!
🎉 This issue has been resolved in version 7.69.4 🎉
The release is available on:
v7.69.4
Your semantic-release bot 📦🚀
Romakita
No branches or pull requests
Describe the bug
I just migrated my project to ESM. I get this error atm:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/hans/IdeaProjects/project_name/node_modules/@tsed/bullmq/lib/esm/dispatchers.js' imported from /Users/hans/IdeaProjects/project_name/node_modules/@tsed/bullmq/lib/esm/BullMQModule.js
When i look into
@tsed/bullmq/lib/esm/BullMQModule.js
, the line 8 is:while
dispatchers
is a folder, containing anindex.js
, so there is no file calleddispatchers.js
To Reproduce
Use the bullmq module in an esm project.
Expected behavior
The import should be correct
Code snippets
No response
Repository URL example
No response
OS
macOS
Node version
20.12.1
Library version
7.69.2
Additional context
No response
The text was updated successfully, but these errors were encountered: