Troubleshooting
Here are some links to official documentations that could be helpful for developers.
ReactJS
The library for web and native user interfaces ยท React lets you build user interfaces out of individual pieces called components
CSS
Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g., fonts, colors, spacing) to Web documents.
React Calendar
Ultimate calendar for your React app. Pick days, months, years, or even decades.Supports range selection.Supports virtually any language
Javascript Date Object
JavaScript Date objects represent a single moment in time in a platform-independent format.
Below are some most common problems developers may encounter
Symptoms | Probable Cause | Action |
---|---|---|
Unable to load the localhost page | Your URL does not match your port number. | Double check in the browser if the app is running on localhost 3000. |
The port 3000 is already taken | You can free a port using killall node command in the terminal. |
|
No module found | Missing dependencies | Installl the missing dependencies using npm install dependency-name |
Conflicting dependencies | Dependencies/Packages are incompatible. npm install gives error |
use npm install --legacy-peer-deps instead. |
Calendar is not defined | Missing import statement for react calendar | Add import Calendar from 'react-calendar' in the file where react calendar component is being called. |
react-scripts: command not found | Packages in package.json are not installed | Install node-modules using npm install command from the root of your project |