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 Build Frontend #630

Open
Monteiroemelo opened this issue Apr 4, 2024 · 0 comments
Open

Error Build Frontend #630

Monteiroemelo opened this issue Apr 4, 2024 · 0 comments

Comments

@Monteiroemelo
Copy link

Creating an optimized production build...
Compiled with warnings.

./src/components/TicketsList/index.js
Line 182:5: React Hook useEffect has missing dependencies: 'searchParam' and 'status'. Either include them or remove the dependency array react-hooks/exhaustive-deps

./src/components/LocationPreview/index.js
Line 5:8: 'Grid' is defined but never used no-unused-vars
Line 27:7: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

File sizes after gzip:

527.4 KB build\static\js\2.b5e18520.chunk.js
34.23 KB build\static\js\main.9d748d8e.chunk.js
9.54 KB build\static\js\3.099bf651.chunk.js
3.16 KB build\static\css\2.8a37710e.chunk.css
1.17 KB build\static\js\runtime-main.9ed67c12.js

The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.
You may serve it with a static server:

serve -s build

Find out more about deployment here:

bit.ly/CRA-deploy

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