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

Codemods are all failing #1256

Open
cg-fnba opened this issue Apr 2, 2024 · 1 comment
Open

Codemods are all failing #1256

cg-fnba opened this issue Apr 2, 2024 · 1 comment

Comments

@cg-fnba
Copy link

cg-fnba commented Apr 2, 2024

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 [email protected]
3 info using [email protected]
4 verbose npm-session 9f8ec0f82c92c816
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 info lifecycle [email protected]prepack: [email protected]
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 [email protected]
postpack: [email protected]
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 ]

@NullVoxPopuli
Copy link

NullVoxPopuli commented Oct 27, 2024

what's the error?

cb.apply is not a function? (or is that a side-effect)

is this all codemods?
it's possible it's just that the ember-data-codemod is broken

repo here: https://github.com/ember-codemods/ember-data-codemod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants