System Requirements
Before installing Nadie Sabe Nada, ensure your system meets the following requirements:Node.js
Node.js version 14.0 or higher is required. We recommend using the latest LTS version.Check your Node.js version:
Installation Steps
Clone the Repository
First, clone the repository to your local machine:
Replace
tu_usuario with the actual GitHub username or organization name.Install Dependencies
Install all required dependencies using your preferred package manager:This will install all dependencies listed in
package.json, including:- React and React DOM (v18.3.1)
- Redux Toolkit and React Redux
- Material UI components
- React Router DOM
- Framer Motion for animations
- Axios for API calls
- react-h5-audio-player for audio playback
Dependencies Overview
The project uses the following key dependencies:Core Dependencies
package.json (excerpt)
State Management
- @reduxjs/toolkit (^2.2.1) - Modern Redux development
- react-redux (^9.1.0) - React bindings for Redux
- redux (^5.0.1) - Predictable state container
- redux-thunk (^3.1.0) - Async action creators
UI & Styling
- @mui/material (^6.1.5) - Material Design components
- @mui/icons-material (^6.1.3) - Material Design icons
- @emotion/react & @emotion/styled - CSS-in-JS styling
- styled-components (^6.1.13) - Component styling
- framer-motion (^11.11.9) - Animation library
Audio & Media
- react-h5-audio-player (^3.9.3) - Custom audio player component
- react-youtube (^10.1.0) - YouTube player integration
Routing & Navigation
- react-router-dom (^6.22.3) - Declarative routing for React
Utilities
- axios (^1.7.7) - HTTP client
- react-hot-toast (^2.4.1) - Notifications
- react-helmet-async (^2.0.5) - Document head management
- react-photo-view (^1.2.6) - Image viewer
- react-loader-spinner & react-spinners - Loading indicators
Verify Installation
After installation, verify everything is set up correctly:Check Package Installation
Ensure all packages are installed:You should see all dependencies listed in
package.json.Browser Compatibility
The application supports the following browsers: Production:- Browsers with >0.2% market share
- Excludes dead browsers
- Excludes Opera Mini
- Latest Chrome version
- Latest Firefox version
- Latest Safari version
package.json (browserslist)
Troubleshooting
Installation fails with dependency conflicts
Installation fails with dependency conflicts
Try using the
--legacy-peer-deps flag:Port 3000 is already in use
Port 3000 is already in use
You can specify a different port:
Module not found errors
Module not found errors
Delete
node_modules and reinstall:Next Steps
Quick Start
Learn how to run and build the application
Components
Explore the React components and architecture
