実行してみましたが、sudo apt-get install npm
私はこのダイアログを返します。どうすれば問題を解決できますか?sudo apt-get install npmがインストールされていない
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
npm : Depends: node-gyp (>= 0.10.9) but it is not going to be
installed
E: Unable to correct problems, you have held broken packages.
'npm'は、' node'がインストールされている場合にのみインストールできます。最初に 'node-gyp'をインストールしてみてください。 – samAlvin
@samAlvin node-gypにはnpmをインストールする必要があります。 'npm install -g node-gyp-install' – Tom