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 running npm start in web folder (TypeScript error in /home/user/banks/react-bank/web/src/components/Auth/Login/index.tsx(21,11):) #71

Open
IsmailMuhammed2019 opened this issue May 3, 2022 · 2 comments

Comments

@IsmailMuhammed2019
Copy link

Please am trying to run the npm start in the web folder after successfully loading the api folder for strapi but I keep geting this error
Failed to compile.

`/home/user/banks/react-bank/web/src/components/Auth/Login/index.tsx
TypeScript error in /home/user/banks/react-bank/web/src/components/Auth/Login/index.tsx(21,11):
Type '{ history: History; onLoginSubmit: (identifier: string, password: string) => void; }' is missing the following properties from type 'MyFormProps': identifier, password TS2739

19 |          <Loader />
20 |       ) : (

21 |
| ^
22 | )}
23 |
`
I don't have been stuck on this error for the past days now. Please any help will be really appreciated.

Thank you so much.

@Kond94
Copy link

Kond94 commented Oct 17, 2022

Did you ever find a solution?

@kenkso-hk
Copy link

I am having the same issue right off the download. It looks like Form folder is missing. Any help is appreciated.

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

3 participants