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

Codemods are all failing

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
领域
tooling

调研方向

首先,在 Windows 上使用 ember-cli 5.7、Node v20.12.0 和 npm 5.1.0 重现日志中的 npx 安装命令。将日志中 graceful-fs polyfills.js 路径上的失败与受支持的版本组合进行比较;完成的标准是确定此组合是否受支持,并记录或解决 codemod 安装失败的原因。

由索引模型根据 Issue 内容生成。

描述

Here is the log file.

ember-cli is version 5.7
node is the current lts

Is this not a supported combination?

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\DEV\github\fnba-software\collections-webapp\node_modules\npx\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'github:ember-codemods/ember-data-codemod',
1 verbose cli '--global',
1 verbose cli '--prefix',
1 verbose cli 'C:\Users\cg\AppData\Roaming\npm-cache\_npx\12348',
1 verbose cli '--loglevel',
1 verbose cli 'error',
1 verbose cli '--json'
1 verbose cli ]
2 info using npm@5.1.0
3 info using node@v20.12.0
4 verbose npm-session 9f8ec0f82c92c816
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 info lifecycle ember-data-codemod@0.1.1prepack: ember-data-codemod@0.1.1
8 verbose tar pack [
8 verbose tar pack 'C:\Users\cg\AppData\Local\Temp\npm-29480-6a592b85\tmp\packing-abf9c729\package.tgz',
8 verbose tar pack 'C:\Users\cg\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-373540f3'
8 verbose tar pack ]
9 verbose tarball C:\Users\cg\AppData\Local\Temp\npm-29480-6a592b85\tmp\packing-abf9c729\package.tgz
10 verbose folder C:\Users\cg\AppData\Roaming\npm-cache_cacache\tmp\git-clone-373540f3
11 info lifecycle ember-data-codemod@0.1.1
postpack: ember-data-codemod@0.1.1
12 silly pacote git manifest for undefined@github:ember-codemods/ember-data-codemod fetched in 25473ms
13 verbose stack TypeError: cb.apply is not a function
13 verbose stack at C:\DEV\github\fnba-software\collections-webapp\node_modules\npx\node_modules\npm\node_modules\graceful-fs\polyfills.js:287:18
13 verbose stack at FSReqCallback.oncomplete (node:fs:205:5)
14 verbose cwd C:\DEV\github\fnba-software\collections-webapp
15 verbose Windows_NT 10.0.19045
16 verbose argv "C:\Program Files\nodejs\node.exe" "C:\DEV\github\fnba-software\collections-webapp\node_modules\npx\node_modules\npm\bin\npm-cli.js" "install" "github:ember-codemods/ember-data-codemod" "--global" "--prefix" "C:\Users\cg\AppData\Roaming\npm-cache\_npx\12348" "--loglevel" "error" "--json"
17 verbose node v20.12.0
18 verbose npm v5.1.0
19 error cb.apply is not a function
20 verbose exit [ 1, true ]

主要语言
JavaScript
星标
279
派生
44
PR 合并指标
30 天内没有已合并 PR

贡献指南

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

从这里开始

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

ember-cli/ember-cli-update 的其他 Issue

查看 ember-cli/ember-cli-update 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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