deepkit / deepkit-framework

A new full-featured and high-performance TypeScript framework
https://deepkit.io/
MIT License
3.14k stars 116 forks source link

Framework Export named 'BrokerKeyValue' not found #574

Open gabdara opened 3 weeks ago

gabdara commented 3 weeks ago

Hi,

On the latest @deepkit/framework@1.0.1-alpha.153 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/framework@1.0.1-alpha.152 solves it.

marcj commented 3 weeks ago

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 commented 3 weeks ago

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 commented 2 weeks ago

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

marcj commented 2 weeks ago

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

gabdara commented 2 weeks ago

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