-
Notifications
You must be signed in to change notification settings - Fork 26
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
Named export <nameExport> not found #183
Comments
Temporary solution : import pkg from '@node-ts/bus-core'
const {handlerFor}= pkg; |
hi @rifton007, it's perhaps too late by now but it looked like you were importing I don't yet have a plan to move the library to ES modules, though I may end up transpiling to both. For now your temporary solution seems to be the way to go. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I tried to learn @node-ts/bus, but I can't import anything.
I want just to reproduce this https://bus.node-ts.com/installing/handling-messages
I tried
"type": "commonjs"
instead"type": "module"
inmy package.json
What I can do to fix it ?
Thanks
Node.js v18.4.0
pnpm 7.4.1
TypeScript 4.7.4
The text was updated successfully, but these errors were encountered: