npm WARN checkPermissions Missing write access to /data/yapi/vendors/node_modules/isobject/node_modules
npm WARN html-webpack-plugin@2.29.0 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 string-replace-webpack-plugin@0.1.3 requires a peer of webpack@^1.4.2 || >=2.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN sw-precache-webpack-plugin@0.11.3 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 webpack-dev-middleware@1.12.2 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 yapi@1.3.20 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
执行:yapi plugin --name yapi-plugin-qsso出错:
npm WARN checkPermissions Missing write access to /data/yapi/vendors/node_modules/isobject/node_modules npm WARN html-webpack-plugin@2.29.0 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 string-replace-webpack-plugin@0.1.3 requires a peer of webpack@^1.4.2 || >=2.2.0 but none is installed. You must install peer dependencies yourself. npm WARN sw-precache-webpack-plugin@0.11.3 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 webpack-dev-middleware@1.12.2 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 yapi@1.3.20 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