I can't deploy my react app

Answer these questions to help the Community help you get started.

What is the domain name?
About to deploy yet

Have you searched for an answer?
No

Please share your search results url:

When you tested your domain, what were the results?

Describe the issue you are having:

What error message or number are you receiving?

23:50:37.610
23:50:37.653 Failed: Error while executing user command. Exited with error code: 1
23:50:37.663 Failed: build command exited with code: 1
23:50:38.537 Failed: error occurred while running build command

What steps have you taken to resolve the issue?

Was the site working with SSL prior to adding it to Cloudflare?

What are the steps to reproduce the error:

Have you tried from another browser and/or incognito mode?

Can you share your repo URL if it is public?

https://github.com/Jerryemmanuel01/J-Foods

Here is the repo link
Thanks

These are the errors that I get

21:53:12.551	Failed to compile.
21:53:12.551	
21:53:12.551	[eslint] 
21:53:12.551	src/assets/FoodData.js
21:53:12.552	  Line 1:1:  Assign array to a variable before exporting as module default  import/no-anonymous-default-export
21:53:12.552	
21:53:12.552	src/component/About.js
21:53:12.552	  Line 11:15:  Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop  jsx-a11y/img-redundant-alt
21:53:12.552	
21:53:12.552	src/component/Footer.js
21:53:12.552	  Line 55:15:  The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
21:53:12.553	  Line 60:15:  The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
21:53:12.553	  Line 65:15:  The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid
21:53:12.553	  Line 70:15:  The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md  jsx-a11y/anchor-is-valid

If you fix those then it should deploy

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.