You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After executing bun install, I encountered a problem that looked like a path issue, but I believe the problem should come from the source code, which is an issue that I cannot solve.
在我执行bun install之后遇到了问题,看起来像是路径问题,但是我认为问题应该来自于源代码,这是我无法解决的问题。
(lobe-vidol) c:\Applications\lobe-vidol>bun install
bun install v1.1.18 (5a0b9352)
152|"remark": "^15.0.0",
^
warn: Duplicate dependency: "remark" specified in package.json
at C:\Applications\lobe-vidol\package.json:152:5
113|"remark": "^15.0.1",
^
note: "remark" originally specified here
at C:\Applications\lobe-vidol\package.json:113:15
$ husky
node:internal/modules/cjs/loader:1148
throw err;
^
Error: Cannot find module 'C:\C:\Applications\lobe-vidol\node_modules\husky\bin.mjs'
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.15.0
error: prepare script from "@lobehub/vidol" exited with 1
(lobe-vidol) c:\Applications\lobe-vidol>systeminfo
OS Name: Microsoft Windows 11 家庭中文版
OS Version: 10.0.22631 N/A Build 22631
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
System Manufacturer: LENOVO
System Model: 82RF
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 154 Stepping 3 GenuineIntel ~2300 Mhz
BIOS Version: LENOVO J2CN40WW, 4/15/2022
Windows Directory: C:\Windows
System Directory: C:\Windows\system32
Boot Device: \Device\HarddiskVolume4
System Locale: zh-cn;Chinese (China)
Input Locale: en-us;English (United States)
Time Zone: (UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
📝 补充信息 | Additional Information
According to the AI prompt, it indicates that the problem is that Husky is not installed. Therefore, I tried to install Husky, but encountered a dependency issue.
根据AI的提示,说明问题是husky没有安装,那么我尝试安装husky,但是遇到了依赖问题。
(lobe-vidol) c:\Applications\lobe-vidol>npm install --save-dev husky
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @lobehub/ui@1.146.4
npm error Found: lucide-react@0.395.0
npm error node_modules/lucide-react
npm error peer lucide-react@">=0.292" from @lobehub/tts@1.24.3
npm error node_modules/@lobehub/tts
npm error @lobehub/tts@"^1.24.2" from the root project
npm error lucide-react@"^0.395.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer lucide-react@">=0.396.0" from @lobehub/ui@1.146.4
npm error node_modules/@lobehub/ui
npm error peer @lobehub/ui@">=1" from @lobehub/tts@1.24.3
npm error node_modules/@lobehub/tts
npm error @lobehub/tts@"^1.24.2" from the root project
npm error @lobehub/ui@"^1.145.5" from the root project
npm error
npm error Conflicting peer dependency: lucide-react@0.400.0
npm error node_modules/lucide-react
npm error peer lucide-react@">=0.396.0" from @lobehub/ui@1.146.4
npm error node_modules/@lobehub/ui
npm error peer @lobehub/ui@">=1" from @lobehub/tts@1.24.3
npm error node_modules/@lobehub/tts
npm error @lobehub/tts@"^1.24.2" from the root project
npm error @lobehub/ui@"^1.145.5" 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.
npm error
npm error
npm error For a full report see:
npm error C:\Users\C\AppData\Local\npm-cache\_logs\2024-07-07T13_57_53_241Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\C\AppData\Local\npm-cache\_logs\2024-07-07T13_57_53_241Z-debug-0.log
Then I followed the instructions of AI to upgrade the version of Husky, but still encountered dependency issues. I am currently unable to resolve this issue. I hope developers can promptly resolve this issue or provide a detailed installation tutorial to guide how to deploy this project locally. Thank you!
👀 @BD520
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
@BD520 Thank you for raising an issue. It seems we duplicate the remark dependency in both "dependencies" and "devDependencies", we will fix it in the next version.
🧐 问题描述 | Proposed Solution
I followed the installation tutorial to follow the installation steps
我按照安装教程执行了安装步骤
After executing bun install, I encountered a problem that looked like a path issue, but I believe the problem should come from the source code, which is an issue that I cannot solve.
在我执行bun install之后遇到了问题,看起来像是路径问题,但是我认为问题应该来自于源代码,这是我无法解决的问题。
This is my NPM&node.js version
这是我的npm版本和node.js版本
This is my system information
这是我的系统信息
📝 补充信息 | Additional Information
According to the AI prompt, it indicates that the problem is that Husky is not installed. Therefore, I tried to install Husky, but encountered a dependency issue.
根据AI的提示,说明问题是husky没有安装,那么我尝试安装husky,但是遇到了依赖问题。
Then I followed the instructions of AI to upgrade the version of Husky, but still encountered dependency issues. I am currently unable to resolve this issue. I hope developers can promptly resolve this issue or provide a detailed installation tutorial to guide how to deploy this project locally. Thank you!
然后我按照AI的指示升级husky的版本,但是仍然遇到依赖问题。这个问题目前我已经无法解决了,希望开发人员看到后能够及时解决这个问题,或者给出一个详细的安装教程来指导如何在本地部署这个项目,谢谢!
No response
The text was updated successfully, but these errors were encountered: