Open cg-fnba opened 7 months ago
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
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 ]