Closed sd0xdev closed 1 year ago
If I encounter the following issues through npm i I hope to correct the TypeScript version to provide a better developer experience.
npm i
nextjs-openai-doc-search main npm i npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: class-variance-authority@0.4.0 npm ERR! Found: typescript@5.0.2 npm ERR! node_modules/typescript npm ERR! typescript@"5.0.2" from the root project npm ERR! peerOptional typescript@">=3.3.1" from eslint-config-next@13.2.4 npm ERR! node_modules/eslint-config-next npm ERR! eslint-config-next@"13.2.4" from the root project npm ERR! 1 more (tsutils) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peerOptional typescript@">= 4.5.5 < 5" from class-variance-authority@0.4.0 npm ERR! node_modules/class-variance-authority npm ERR! class-variance-authority@"^0.4.0" from the root project
- "typescript": "5.0.2",
+ "typescript": "^4.9.5",
Feel free to include screenshots if it includes visual changes.
After the update, my installation went very smoothly.
Add any other context or screenshots.
What kind of change does this PR introduce?
If I encounter the following issues through
npm i
I hope to correct the TypeScript version to provide a better developer experience.What is the current behavior?
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
After the update, my installation went very smoothly.
Add any other context or screenshots.