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

Mensagem retornada ao executar: [wppconnect-server builder 8/8] RUN yarn build: #40

Open
Garutti opened this issue Jun 20, 2024 · 0 comments

Comments

@Garutti
Copy link

Garutti commented Jun 20, 2024

=> 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/[email protected] 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 [email protected] 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

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

1 participant