npmをアップデートしたら動かなくなった。エラーは
TypeError: cleanUrl is not a function
cleanUrlを呼ぼうとして無いというもの。fixするには、
- ~\AppData\Roaming\npm\node_modules\npm\node_modules\npm-registry-fetch\lib\index.js の最後に module.exports.cleanUrl = require('./clean-url.js') を付け加える。
ちなみに最新バージョンは
published yesterday by gar <gar+npm@danger.computer>
今日が 2022-06-17 だから 2022-06-16 リリースバージョン。