npm ls -g --depth=0 会报错
$ npm ls -g --depth=0
... 中间略 ...
npm ERR! peer dep missing: eslint@>= 4.12.1, required by [email protected]
确认了是nanachi-cli的问题...我一个个试过了... 虽然不影响使用 但是看着还是挺难受的... 之前@vue/cli 3也遇到过这个问题 后来被修复了 可以参考一下 谢谢
什么平台
什么平台
macos 10.14.3 node 8.15.0 npm 6.8.0
不能确定是我们的问题,我们没事
不能确定是我们的问题,我们没事
# ananiy @ ananiy-manjaro in ~/workspace [15:39:53]
$ npm ls -g --depth=0
/home/ananiy/.nvm/versions/node/v8.15.1/lib
└── [email protected]
# ananiy @ ananiy-manjaro in ~/workspace [15:40:11]
$ npm i -g nanachi-cli
npm WARN deprecated [email protected]: In 6.x, the babel package has been deprecated in favor of babel-cli. Check https://opencollective.com/babel to support the Babel maintainers
/home/ananiy/.nvm/versions/node/v8.15.1/bin/nanachi -> /home/ananiy/.nvm/versions/node/v8.15.1/lib/node_modules/nanachi-cli/bin/index.js
npm WARN [email protected] requires a peer of eslint@>= 4.12.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nanachi-cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ [email protected]
added 1294 packages from 694 contributors in 61.278s
# ananiy @ ananiy-manjaro in ~/workspace [15:41:20]
$ npm ls -g --depth=0
/home/ananiy/.nvm/versions/node/v8.15.1/lib
├── [email protected]
└── [email protected]
npm ERR! peer dep missing: eslint@>= 4.12.1, required by [email protected]
# ananiy @ ananiy-manjaro in ~/workspace [15:41:58] C:1
$
我新建了个virtualbox虚拟机 ... 装了manjaro 然后用nvm装了node 8 直接测试的...
@ananiy , 我们最近在[email protected]上依赖做了一次大的升级,你全局卸载nanachi-cli, 再装[email protected]的版本试试。
@taotao9125
# ananiy @ ananiy-manjaro in ~ [14:01:43] C:1
$ npm ls -g --depth=0
/home/ananiy/.nvm/versions/node/v8.15.1/lib
├── [email protected]
└── [email protected]
npm ERR! peer dep missing: eslint@>= 4.12.1, required by [email protected]
# ananiy @ ananiy-manjaro in ~ [14:02:09] C:1
$ npm rm -g nanachi-cli
removed 1294 packages in 20.676s
# ananiy @ ananiy-manjaro in ~ [14:02:49]
$ npm i -g nanachi-cli
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
/home/ananiy/.nvm/versions/node/v8.15.1/bin/nanachi -> /home/ananiy/.nvm/versions/node/v8.15.1/lib/node_modules/nanachi-cli/bin/index.js
npm WARN [email protected] requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nanachi-cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ [email protected]
added 1274 packages from 788 contributors in 58.843s
# ananiy @ ananiy-manjaro in ~ [14:04:14]
$ npm ls -g --depth=0
/home/ananiy/.nvm/versions/node/v8.15.1/lib
├── [email protected]
└── [email protected]
npm ERR! peer dep missing: acorn@^6.0.0, required by [email protected]
# ananiy @ ananiy-manjaro in ~ [14:04:53] C:1
$
在虚拟机和mac上都这样 囧
@ananiy , 好的,情况大概了解了。目前团队在忙着快应用的事情,该问题预计在1.1.7的版本中修复。
@taotao9125 辛苦了 加油~~~