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

swagger 3.0爆错,看起来是脚本中自动删掉了那个目录,手动创建目录也说找不到 #55

Closed
akan opened this issue May 5, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@akan
Copy link

akan commented May 5, 2022

➜ npx autos
[INFO]: 打开链接 https://127.0.0.1:3007/ 编辑
[ERROR]: gen failed with: [ERROR]: gen failed from
/usr/local/lib/node_modules/auto-service/tmp/1ea9c3379bc5fe5674e8665d17eb41e9.json with
访问临时目录 /usr/local/lib/node_modules/auto-service/tmp/1ea9c3379bc5fe5674e8665d17eb41e9_json 失败
错误信息:Error: ENOENT: no such file or directory, scandir '/usr/local/lib/node_modules/auto-service/tmp/1ea9c3379bc5fe5674e8665d17eb41e9_json'

@gogoyqj gogoyqj self-assigned this May 6, 2022
@gogoyqj gogoyqj added the bug Something isn't working label May 6, 2022
@gogoyqj
Copy link
Owner

gogoyqj commented May 6, 2022

➜ npx autos [INFO]: 打开链接 https://127.0.0.1:3007/ 编辑 [ERROR]: gen failed with: [ERROR]: gen failed from /usr/local/lib/node_modules/auto-service/tmp/1ea9c3379bc5fe5674e8665d17eb41e9.json with 访问临时目录 /usr/local/lib/node_modules/auto-service/tmp/1ea9c3379bc5fe5674e8665d17eb41e9_json 失败 错误信息:Error: ENOENT: no such file or directory, scandir '/usr/local/lib/node_modules/auto-service/tmp/1ea9c3379bc5fe5674e8665d17eb41e9_json'

[email protected] 已修复,由于较高版本 jdk 下 mustache 模板引擎模块加载失败造成,参照 swagger-api/swagger-codegen#10966 升级 mustache 依赖解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants