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

error when run npm run dev #80

Open
bolerap opened this issue Oct 6, 2020 · 2 comments
Open

error when run npm run dev #80

bolerap opened this issue Oct 6, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@bolerap
Copy link

bolerap commented Oct 6, 2020

hi all,
Following this https://pankod.github.io/moleculerjs-boilerplate/docs/setup
After run command npm run dev i got this error. What wrong with me?

[Runner] ⨯ Unable to compile TypeScript:
moleculer.config.ts(33,2): error TS2322: Type '{ namespace: string; nodeID: undefined; logger: true; logLevel: "info"; logFormatter: string; logObjectPrinter: undefined; transporter: { type: string; options: { udpDiscovery: boolean; }; }; serializer: string; ... 19 more ...; replCommands: undefined; }' is not assignable to type 'BrokerOptions'.
  Object literal may only specify known properties, and 'logFormatter' does not exist in type 'BrokerOptions'.
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.72. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the bug Something isn't working label Oct 6, 2020
@icex
Copy link

icex commented Dec 30, 2020

I've gotten around it by commenting out in moleculer.config.ts

// logFormatter: 'default',

and
// logObjectPrinter: undefined,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants