chat-ollama icon indicating copy to clipboard operation
chat-ollama copied to clipboard

puppeteer 版本冲突

Open delubee opened this issue 10 months ago • 4 comments

PS D:\github\chat-ollama> npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/puppeteer npm ERR! puppeteer@"^22.6.3" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peerOptional puppeteer@"^19.7.2" from [email protected] npm ERR! node_modules/langchain npm ERR! langchain@"^0.1.31" from the root project npm ERR! npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/puppeteer npm ERR! peerOptional puppeteer@"^19.7.2" from [email protected] npm ERR! node_modules/langchain npm ERR! langchain@"^0.1.31" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry

delubee avatar Apr 07 '24 14:04 delubee

修改为"puppeteer": "^19.7.2", 可以运行

delubee avatar Apr 07 '24 14:04 delubee

@delubee 感谢。可以提个PR来更新这个版本吗?

sugarforever avatar Apr 07 '24 15:04 sugarforever

PR - https://github.com/sugarforever/chat-ollama/pull/229

sugarforever avatar Apr 07 '24 23:04 sugarforever

@delubee 请拉取最新版本,看看是否解决了该问题

sugarforever avatar Apr 07 '24 23:04 sugarforever