您尚未登录。

#1 2021-08-22 19:54:22

Yanxu
会员
注册时间: 2021-07-29
帖子: 53

安装motrix失败

yay -S motrix时在build()时npm报错,无法解析依赖树
Starting build()输出:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: Motrix@1.6.11
npm ERR! Found: eslint-plugin-promise@5.1.0
npm ERR! node_modules/eslint-plugin-promise
npm ERR!   dev eslint-plugin-promise@"^5.1.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint-plugin-promise@"^4.2.1" from @vue/eslint-config-standard@6.0.0
npm ERR! node_modules/@vue/eslint-config-standard
npm ERR!   dev @vue/eslint-config-standard@"^6.0.0" 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 /home/yanxu/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/yanxu/.npm/_logs/2021-08-22T11_43_39_001Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...
error making: motrix

eresolve-report.txt

# npm resolution error report

2021-08-22T11:43:38.995Z

While resolving: Motrix@1.6.11
Found: eslint-plugin-promise@5.1.0
node_modules/eslint-plugin-promise
  dev eslint-plugin-promise@"^5.1.0" from the root project

Could not resolve dependency:
peer eslint-plugin-promise@"^4.2.1" from @vue/eslint-config-standard@6.0.0
node_modules/@vue/eslint-config-standard
  dev @vue/eslint-config-standard@"^6.0.0" from the root project

Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Raw JSON explanation object:

{
  "code": "ERESOLVE",
  "current": {                                                                                                                                                                                
    "name": "eslint-plugin-promise",                                                                                                                                                          
    "version": "5.1.0",                                                                                                                                                                       
    "whileInstalling": {                                                                                                                                                                      
      "name": "Motrix",                                                                                                                                                                       
      "version": "1.6.11",                                                                                                                                                                    
      "path": "/home/yanxu/.cache/yay/motrix/src/Motrix"                                                                                                                                      
    },                                                                                                                                                                                        
    "location": "node_modules/eslint-plugin-promise",                                                                                                                                         
    "isWorkspace": false,                                                                                                                                                                     
    "dependents": [                                                                                                                                                                           
      {                                                                                                                                                                                       
        "type": "dev",                                                                                                                                                                        
        "name": "eslint-plugin-promise",                                                                                                                                                      
        "spec": "^5.1.0",                                                                                                                                                                     
        "from": {                                                                                                                                                                             
          "location": "/home/yanxu/.cache/yay/motrix/src/Motrix"                                                                                                                              
        }                                                                                                                                                                                     
      }                                                                                                                                                                                       
    ]                                                                                                                                                                                         
  },                                                                                                                                                                                          
  "currentEdge": {                                                                                                                                                                            
    "type": "dev",                                                                                                                                                                            
    "name": "eslint-plugin-promise",                                                                                                                                                          
 NORMAL  eresolve-report.txt                                                                                                                           text  utf-8[unix]  164W 1% ㏑:1/81☰℅:1 
 

离线

#2 2021-08-24 10:42:40

haomingbai
会员
注册时间: 2021-06-14
帖子: 33

Re: 安装motrix失败

我个人的建议是直接安装motrix-bin

离线

页脚