cb.apply is not a function
Closed this issue · 1 comments
dertuxmalwieder commented
Error:
> npx wordpress-export-to-markdown
npm ERR! cb.apply is not a function
It looks like the trace log contains all relevant information:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Users\\stop_\\scoop\\apps\\nodejs-np\\current\\node.exe',
1 verbose cli 'C:\\Users\\stop_\\AppData\\Roaming\\npm\\node_modules\\npx\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'wordpress-export-to-markdown@latest',
1 verbose cli '--global',
1 verbose cli '--prefix',
1 verbose cli 'C:\\Users\\stop_\\AppData\\Roaming\\npm-cache\\_npx\\6924',
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@v18.7.0
4 verbose npm-session 1596d3eca3c78795
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 200 https://registry.npmjs.org/wordpress-export-to-markdown 704ms
8 http fetch GET 200 https://registry.npmjs.org/wordpress-export-to-markdown/-/wordpress-export-to-markdown-2.2.2.tgz 80ms
9 silly pacote tag manifest for wordpress-export-to-markdown@latest fetched in 1060ms
10 verbose stack TypeError: cb.apply is not a function
10 verbose stack at C:\Users\stop_\AppData\Roaming\npm\node_modules\npx\node_modules\npm\node_modules\graceful-fs\polyfills.js:287:18
10 verbose stack at FSReqCallback.oncomplete (node:fs:212:5)
11 verbose cwd C:\Users\stop_\Downloads\blog
12 verbose Windows_NT 10.0.22622
13 verbose argv "C:\\Users\\stop_\\scoop\\apps\\nodejs-np\\current\\node.exe" "C:\\Users\\stop_\\AppData\\Roaming\\npm\\node_modules\\npx\\node_modules\\npm\\bin\\npm-cli.js" "install" "wordpress-export-to-markdown@latest" "--global" "--prefix" "C:\\Users\\stop_\\AppData\\Roaming\\npm-cache\\_npx\\6924" "--loglevel" "error" "--json"
14 verbose node v18.7.0
15 verbose npm v5.1.0
16 error cb.apply is not a function
17 verbose exit [ 1, true ]
lonekorean commented
This seems to be an issue beyond the scope of this repo (cb.apply
is not used anywhere in my code).
There's a lot of positive feedback on this comment, might be of help to anyone experiencing this issue: nodejs/help#2874 (comment)