How to reproduce, npm run build on the frontend will create a Failed compilation of the code, this does not happend when running npm run alone.
Error output.
`Failed to compile.
[eslint]
src/components/EventCard.tsx
Line 7:11: 'EventCardProps' is not defined no-undef
Line 14:48: 'image' is missing in props validation react/prop-types
Line 14:55: 'name' is missing in props validation react/prop-types
Line 14:61: 'time' is missing in props validation react/prop-types
src/components/Events.tsx
Line 9:3: 'id' is not defined no-undef
Line 10:3: 'image' is not defined no-undef
Line 12:3: 'time' is not defined no-undef
Search for the keywords to learn more about each error.
`
We need to fix this to make to test it on production server as it will be need to be compiled first.
Objetives to resolve the issue:
The frontend must be able to be compiled for production deployment.
How to reproduce,
npm run build
on the frontend will create a Failed compilation of the code, this does not happend when runningnpm run
alone.Error output. `Failed to compile.
[eslint] src/components/EventCard.tsx Line 7:11: 'EventCardProps' is not defined no-undef Line 14:48: 'image' is missing in props validation react/prop-types Line 14:55: 'name' is missing in props validation react/prop-types Line 14:61: 'time' is missing in props validation react/prop-types
src/components/Events.tsx Line 9:3: 'id' is not defined no-undef Line 10:3: 'image' is not defined no-undef Line 12:3: 'time' is not defined no-undef
Search for the keywords to learn more about each error. ` We need to fix this to make to test it on production server as it will be need to be compiled first.
Objetives to resolve the issue: