在Raspberry Pi上安装NPM(Wheezy映像)
今年我很幸运能在树下得到一台Raspberry Pi,在设备上玩Node.js时我感到很开心。但是,当您可以拉出软件包并将其插入应用程序时,Node.js会更有趣-这就是我遇到麻烦的地方。 如果我尝试使用以下命令将NPM与Node.js一起安装: sudo apt-get install nodejs npm 我收到以下错误: pi@raspberrypi ~ $ sudo apt-get install nodejs npm Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the …