请帮我在ubuntu中安装phonegap。
我已经安装了节点,但它显示缺少npm ...
syam@shyam-Veriton-Series:~$ npm install -g phonegap
The program 'npm' is currently not installed. To run 'npm' please ask your administrator to install the package 'npm'发布于 2015-02-25 17:18:46
你必须先安装nodeJS,然后安装npm,然后才能安装phonegap:
sudo apt-get install nodejs
sudo apt-get install npm
npm install -g phonegap发布于 2015-02-25 17:23:35
你说你已经安装了node,但是你还没有安装npm。
我假设您安装了这样的node:
sudo apt-get update
sudo apt-get install nodejsnpm的安装方式与此相同:
sudo apt-get install npm这个tutorial提供了在Ubuntu上安装Node.js的完整指南。
安装npm后,您应该能够使用原始命令安装phonegap:
npm install -g phonegaphttps://stackoverflow.com/questions/28715105
复制相似问题