mirror of
https://github.com/hanzoai/turborepo.git
synced 2026-10-30 19:44:51 +00:00
### Description Solve this error that I got with Node 24 and NPM (not PNPM): ``` npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: [email protected] npm error Found: [email protected] npm error node_modules/vite npm error dev vite@"^5.1.4" from [email protected] npm error apps/web npm error [email protected] npm error node_modules/web npm error workspace apps/web from the root project npm error npm error Could not resolve dependency: npm error peer vite@"^4.1.0-beta.0" from @vitejs/[email protected] npm error node_modules/@vitejs/plugin-react npm error dev @vitejs/plugin-react@"^3.1.0" from [email protected] npm error apps/web npm error [email protected] npm error node_modules/web npm error workspace apps/web from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. ``` ### Testing Instructions Run `npm install` --------- Co-authored-by: Anthony Shew <[email protected]>
28 lines
642 B
JSON
28 lines
642 B
JSON
{
|
|
"name": "web",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --clearScreen false",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint \"src/**/*.ts\""
|
|
},
|
|
"dependencies": {
|
|
"@repo/ui": "workspace:*",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@repo/eslint-config": "workspace:*",
|
|
"@repo/typescript-config": "workspace:*",
|
|
"@types/react": "^19.0.1",
|
|
"@types/react-dom": "^19.0.2",
|
|
"@vitejs/plugin-react": "^5.1.4",
|
|
"eslint": "^8.57.0",
|
|
"typescript": "5.5.4",
|
|
"vite": "^5.1.4"
|
|
}
|
|
}
|