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 npm run build #10

Open
jimbim88 opened this issue Jul 29, 2022 · 0 comments
Open

Error npm run build #10

jimbim88 opened this issue Jul 29, 2022 · 0 comments

Comments

@jimbim88
Copy link

jimbim88 commented Jul 29, 2022

~/alienworldsbot# npm ci

[email protected] build
tsc

src/task.ts:221:15 - error TS2684: The 'this' context of type 'ElementHandle' is not assignable to method's 'this' of type 'ElementHandle'.
Type 'Node' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 110 more.

221 await loginBtnPlace.click();
~~~~~~~~~~~~~

src/task.ts:236:15 - error TS2684: The 'this' context of type 'ElementHandle' is not assignable to method's 'this' of type 'ElementHandle'.

236 await claimBtn.click();
~~~~~~~~

src/task.ts:365:15 - error TS2684: The 'this' context of type 'ElementHandle' is not assignable to method's 'this' of type 'ElementHandle'.

365 await mineStartBtn.click();
~~~~~~~~~~~~

Found 3 errors.

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