Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行:yapi plugin --name yapi-plugin-qsso出错: #2

Open
sandheart opened this issue Jul 24, 2018 · 3 comments
Open

执行:yapi plugin --name yapi-plugin-qsso出错: #2

sandheart opened this issue Jul 24, 2018 · 3 comments

Comments

@sandheart
Copy link

执行: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

@sandheart
Copy link
Author

sandheart commented Jul 24, 2018

npm的依赖管理太蛋疼了,能改用yarn吗?

@sandheart
Copy link
Author

sandheart commented Jul 24, 2018

yapi-plugin-qsso依赖ykit,没说明,这个坑趟的

@gaoxiaomumu
Copy link
Member

image
在zh执行 yapi plugin 的时候会判断是否安装过ykit 的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants