=> ERROR [wppconnect-server builder 8/8] RUN yarn build 18.5s
[wppconnect-server builder 8/8] RUN yarn build:
0.710 yarn run v1.22.19
0.838 $ npm run build:types && npm run build:js
2.164
2.164 > @wppconnect/server@2.5.1 build:types
2.164 > tsc
2.164
18.23 src/server.ts(19,12): error TS2345: Argument of type '{ secretKey: string; host: string; port: string; deviceName: string; poweredBy: string; startAllSession: boolean; tokenStoreType: string; maxListeners: number; customUserDataDir: string; webhook: { ...; }; ... 7 more ...; aws_s3: { ...; }; }' is not assignable to parameter of type 'Partial'.
18.23 Types of property 'port' are incompatible.
18.23 Type 'string' is not assignable to type 'number'.
18.29 npm notice
18.29 npm notice New minor version of npm available! 10.5.2 -> 10.8.1
18.29 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
18.29 npm notice Run npm install -g npm@10.8.1 to update!
18.30 npm notice
18.33 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
18.33 error Command failed with exit code 1.
failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 1
=> ERROR [wppconnect-server builder 8/8] RUN yarn build 18.5s