Skip to content

修改之后无法提交 #1238

@Jeffzholy

Description

@Jeffzholy
  • 问题:翻译,修改完毕之后无法提交,如下内容所示。
  • 操作步骤:1. 拉取最新内容 2. yarn 安装 3. 翻译文本 4. 提交代码失败
  • 可能问题定位:1. 运行 fix-headings 脚本失败退出,2. 翻译文件内容可能全文没有 heading ,3. 尝试修改有 heading 的文件,一样失败退出,4. 网络上搜索解决办法,没有获取到有用的信息
  • 现求助社区,希望小伙伴们帮忙
    ❯ src/**/*.md — 1 file
      ✖ yarn fix-headings [FAILED]
↓ Skipped because of errors from tasks. [SKIPPED]
✔ Reverting to original state because of errors...
✔ Cleaning up temporary files...

✖ yarn fix-headings:
Internal Error: react-dev@workspace:.: This package doesn't seem to be present in your lockfile; try to make an install to update your resolutions
    at J.getCandidates (/usr/local/lib/node_modules/yarn/bin/yarn.js:2:355536)
    at n.getCandidates (/usr/local/lib/node_modules/yarn/bin/yarn.js:2:344526)
    at /usr/local/lib/node_modules/yarn/bin/yarn.js:2:366182
    at Module.w (/usr/local/lib/node_modules/yarn/bin/yarn.js:2:425653)
    at C (/usr/local/lib/node_modules/yarn/bin/yarn.js:2:366145)
error Command failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions