npm installすると以下のようなエラーが出ます。
npm 6.9.0
node 12.19.0
windows 10
コマンドプロンプト
npm ERR! cb.apply is not a function npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\na07t\AppData~~~2020-10-15T10_29_02_470Z-debug.log
debug.log
0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\Program Files (x86)\Nodist\v-x64\12.19.0\node.exe', 1 verbose cli 'C:\Program Files (x86)\Nodist\npmv\6.9.0\bin\npm-cli.js', 1 verbose cli 'install', 1 verbose cli '-g', 1 verbose cli 'npm@6.14.8' 1 verbose cli ] 2 info using npm@6.9.0 3 info using node@v12.19.0 4 verbose npm-session 319533ccd7293a96 5 silly install loadCurrentTree 6 silly install readGlobalPackageData 7 http fetch GET 304 https://registry.npmjs.org/npm 290ms (from cache) 8 silly pacote version manifest for npm@6.14.8 fetched in 343ms 9 verbose stack TypeError: cb.apply is not a function 9 verbose stack at C:\Program Files (x86)\Nodist\npmv\6.9.0\node_modules\graceful-fs\polyfills.js:285:20 9 verbose stack at FSReqCallback.oncomplete (fs.js:169:5) 10 verbose cwd C:\Users\na07t 11 verbose Windows_NT 10.0.18363 12 verbose argv "C:\Program Files (x86)\Nodist\v-x64\12.19.0\node.exe" "C:\Program Files (x86)\Nodist\npmv\6.9.0\bin\npm-cli.js" "install" "-g" "npm@6.14.8" 13 verbose node v12.19.0 14 verbose npm v6.9.0 15 error cb.apply is not a function 16 verbose exit [ 1, true ]
https://qiita.com/tktcorporation/items/605a8d89f0dd3ca3d7c3
こちらの事例では無いですよね。いつ頃から起き始めた、どんな操作、設定の後からが分かるなら追記頂きたいです。
回答1件
あなたの回答
tips
プレビュー