Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[BUG] version command fails in 2.4.3

未关闭
#467 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@kay-schecker 已经在做这个了。

开始于 2021年9月15日。

评估

这个 Issue 还没有评估数据。

描述

bug

⚠️ Important Notice

Please differentiate the bug

This repository is not responsible for the actual code generation. If you have problems with the code generation, please open the bug at OpenAPITools/openapi-generator.

Please also check if the bug is already known before you open a new bug.


🐛 Bug Report:

Describe the bug

version returns an error

Steps to Reproduce

Steps to reproduce the behavior:

  1. npm install -g @openapitools/openapi-generator-cli@2.4.3
  2. npx @openapitools/openapi-generator-cli version
Expected behavior
Download 5.2.1 ...
Downloaded 5.2.1
Did set selected version to 5.2.1
5.2.1
Actual behavior
Unexpected token '?'
Operation System (please complete the following information):
  • OSX 11.6
  • Ubuntu 18.04
Package System (please complete the following information):
  • npm 6.14.6
Additional context

Rolling back to 2.4.2 fixes the problem

主要语言
TypeScript
星标
2k
派生
208
平均合并
7 小时 12 分钟
30 天内合并 PR
6

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenAPITools/openapi-generator-cli 的其他 Issue

查看 OpenAPITools/openapi-generator-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。