take out react 19

main
btahir89 12 months ago
parent 62fd7f0b43
commit f5521bb5a4

@ -69,13 +69,11 @@ cd next-beats
2. Install dependencies:
```bash
npm install --legacy-peer-deps
npm install
# or
yarn install --legacy-peer-deps
yarn install
```
> **Important Note**: We use `--legacy-peer-deps` because the project contains dependencies that require different versions of React (React 16 and React 19). This flag allows npm to bypass peerDependency conflicts and install the packages anyway. While this isn't ideal for production, it's necessary for development until all dependencies are updated to support React 19.
3. Run the development server:
```bash

535
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -13,8 +13,8 @@
"clsx": "^2.1.1",
"lucide-react": "^0.460.0",
"next": "15.0.3",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-player": "^2.16.0",
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7"
@ -24,7 +24,7 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "15.0.3",
"eslint-config-next": "14.0.4",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"

Loading…
Cancel
Save