HelloMum / COMP47360-Smart-Tourist-Guide

GNU General Public License v2.0
2 stars 0 forks source link

Frontend is not building eventhough is runnable. #30

Closed HelloMum closed 4 months ago

HelloMum commented 4 months ago

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: