ember-cli / ember-cli/ember-cli-update

Codemods are all failing

Open
#1,256 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
279
Forks
44
PR merge metrics
No merged PRs in 30d

Description

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.1~prepack: 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 ]

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the logged npx install command on Windows with ember-cli 5.7, Node v20.12.0, and npm 5.1.0. Compare the failure in the logged graceful-fs polyfills.js path with supported version combinations; done means identifying whether this combination is supported and recording or resolving the cause for the codemod installation failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.