keven1024 / qinglong_helper

青龙辅助脚本
GNU Affero General Public License v3.0
99 stars 23 forks source link

怎样开启自动补全依赖功能? #8

Open raygzcn opened 2 years ago

raygzcn commented 2 years ago

👮‍♂️依赖检测: ❎未开启自动补全依赖,请手动补齐以下依赖🤗 👮‍♂️检测到缺失NodeJs依赖: ['moment', 'jsdom', 'axios']

raygzcn commented 2 years ago

🐲青龙自动安装依赖(1/3)

🤖检测是否安装NodeJs依赖: moment ⚙当前正在自动安装NodeJs依赖: moment 🔨执行命令: cd /ql/ && npm install moment ⛔出错了: npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: undefined@undefined npm ERR! Found: react@17.0.2 npm ERR! node_modules/react npm ERR! dev react@"17.x" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@">=15.5 <=16.x" from react-codemirror2@7.2.1 npm ERR! node_modules/react-codemirror2 npm ERR! dev react-codemirror2@"^7.2.1" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-06-30T14_29_32_998Z-debug-0.log

🐲青龙自动安装依赖(2/3)

🤖检测是否安装NodeJs依赖: jsdom ⚙当前正在自动安装NodeJs依赖: jsdom 🔨执行命令: cd /ql/ && npm install jsdom ⛔出错了: npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: undefined@undefined npm ERR! Found: react@17.0.2 npm ERR! node_modules/react npm ERR! dev react@"17.x" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@">=15.5 <=16.x" from react-codemirror2@7.2.1 npm ERR! node_modules/react-codemirror2 npm ERR! dev react-codemirror2@"^7.2.1" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-06-30T14_30_54_818Z-debug-0.log

🐲青龙自动安装依赖(3/3)

🤖检测是否安装NodeJs依赖: axios ⚙当前正在自动安装NodeJs依赖: axios 🔨执行命令: cd /ql/ && npm install axios ⛔出错了: npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: undefined@undefined npm ERR! Found: react@17.0.2 npm ERR! node_modules/react npm ERR! dev react@"17.x" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@">=15.5 <=16.x" from react-codemirror2@7.2.1 npm ERR! node_modules/react-codemirror2 npm ERR! dev react-codemirror2@"^7.2.1" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-06-30T14_31_46_680Z-debug-0.log

baoxuekai commented 2 years ago

你是怎样开启的呢,没接触过python,但是貌似上面export的常量并未生效,是被注释掉了?我强制设置为true,但是并未执行下面的自动补全方法

Look-UI commented 1 year ago

export QL_LOG_AUTO_INSTALL_DEPEND="true"

kklod commented 1 year ago

是最前面那个红色的参数吗? 怎么改了没效果啊?