执行:yapi plugin --name yapi-plugin-qsso出错:
执行:yapi plugin --name yapi-plugin-qsso出错:
npm WARN checkPermissions Missing write access to /data/yapi/vendors/node_modules/isobject/node_modules npm WARN [email protected] requires a peer of webpack@1 || ^2 || ^2.1.0-beta || ^2.2.0-rc || ^3 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of webpack@^1.4.2 || >=2.2.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of webpack@^1 || ^2 || ^2.1.0-beta || ^2.2.0-beta but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of webpack@^1.0.0 || ^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] license should be a valid SPDX license expression
npm ERR! path /data/yapi/vendors/node_modules/cjson npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall access npm ERR! enoent ENOENT: no such file or directory, access '/data/yapi/vendors/node_modules/cjson' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-07-24T00_42_45_088Z-debug.log 更新插件成功 正在安装依赖... ^C
npm的依赖管理太蛋疼了,能改用yarn吗?
yapi-plugin-qsso依赖ykit,没说明,这个坑趟的
在zh执行 yapi plugin 的时候会判断是否安装过ykit 的