moleculerjs-boilerplate
moleculerjs-boilerplate copied to clipboard
error when run npm run dev
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 is automatically applying the label bug to this issue, with a confidence of 0.72. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
I've gotten around it by commenting out in moleculer.config.ts
// logFormatter: 'default',
and // logObjectPrinter: undefined,