はじめに
備忘のため。
nodistを使っていると、たまに下記のようなエラーに遭遇します。
$ npm i
Sorry, there's a problem with nodist. Couldn't resolve npm version spec match : Couldn't find any matching version
nodeのバージョンとnpmのバージョンに差異がある際に発生するっぽいです。
解決策
下記コマンドを実行します。
$ nodist npm match
npm match
$ npm -v
6.12.0
nodeバージョンに対応したnpmをインストールしてきてくれます。