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

Framework Export named 'BrokerKeyValue' not found #574

Open
gabdara opened this issue Jun 11, 2024 · 5 comments
Open

Framework Export named 'BrokerKeyValue' not found #574

gabdara opened this issue Jun 11, 2024 · 5 comments

Comments

@gabdara
Copy link
Contributor

gabdara commented Jun 11, 2024

Hi,

On the latest @deepkit/[email protected] I'm getting the following error when running the command server:start

SyntaxError: Export named 'BrokerKeyValue' not found in module '/.../node_modules/@deepkit/broker/dist/esm/index.js'.

Downgrading to @deepkit/[email protected] solves it.

@marcj
Copy link
Member

marcj commented Jun 12, 2024

Did you also update @deepkit/broker? Depending on your package manager, you have to do it manually. I prefer to update packages either via "npx update-by-scope @deepkit" or "yarn up '@deepkit/*'

@gabdara
Copy link
Contributor Author

gabdara commented Jun 12, 2024

I didn't install @deepkit/broker in my app as I don't make use of it yet.
I thought it will use it from the dependencies under @deepkit/framework since the documentation installation guide doesn't mention peer dependencies.

@marcj
Copy link
Member

marcj commented Jun 19, 2024

seems like you don't use npm and use something that doesn't handle peer dependencies properly

@marcj
Copy link
Member

marcj commented Jun 19, 2024

oh wait, we have wrong peerDependencies version for broker, which seems to be the issue here

@gabdara
Copy link
Contributor Author

gabdara commented Jun 19, 2024

Thank you for looking into it!

seems like you don't use npm and use something that doesn't handle peer dependencies properly

I use bun

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

2 participants