mac安装imooc-jira-tool报错

来源:5-2 连接真实服务端 - 专属开发者⼯具介绍与安装

Mr_Big_9325

2021-05-17

shawnmillions@promote jia % npx imooc-jira-tool
Need to install the following packages:
imooc-jira-tool
Ok to proceed? (y) y
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: react@16.14.0
npm WARN node_modules/react
npm WARN peer react@"^16.0.0" from jira-dev-tool@1.7.61
npm WARN node_modules/jira-dev-tool
npm WARN jira-dev-tool@"^1.1.0" from imooc-jira-tool@1.0.3
npm WARN node_modules/imooc-jira-tool
npm WARN 1 more (antd)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@“17.0.2” from react-dom@17.0.2
npm WARN node_modules/react-dom
npm WARN peer react-dom@">=16.9.0" from antd@4.15.5
npm WARN node_modules/antd
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
⸨ ⸩ ⠇ reify:jira-dev-tool: http fetch GET 200 https://registry.npmjs.org/jira-dev-tool/-/jira-dev-tool-1.7.61.tgz 64465ms
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://github.com/npm/cli/issues

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/shawnmillions/.npm/_logs/2021-05-17T14_50_29_165Z-debug.log
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia %
shawnmillions@promote jia % npx imooc-jira-tool
sh: imooc-jira-tool: command not found
npm ERR! code 127
npm ERR! path /Users/shawnmillions/GitSourceCode/jia
npm ERR! command failed
npm ERR! command sh -c imooc-jira-tool

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/shawnmillions/.npm/_logs/2021-05-17T14_50_52_632Z-debug.log

写回答

1回答

Nolan

2021-05-18

那就不运行那个命令了,运行以下的命令:


yarn add jira-dev-tool@1.7.61

npx msw init ./public

2
0

React17+Hook+TS4 优质实践,仿 Jira 企业级项目

解锁 React17 高阶用法,轻松应对大型复杂长周期项目

2691 学习 · 1236 问题

查看课程