Erro ao instalar phonegap.

1. Erro ao instalar phonegap.

MrMinerin
MrMinerin

(usa Debian)

Enviado em 23/04/2017 - 11:26h

root@jeferson-pc:/# npm install -g phonegap
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
/usr/lib
└── (empty)

npm ERR! path /usr/lib/node_modules/.staging/async-ad5d1744
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/.staging/async-ad5d1744' -> '/usr/lib/node_modules/phonegap/node_modules/phonegap-build-api/node_modules/request/node_modules/form-data/node_modules/async'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/.staging/async-ad5d1744' -> '/usr/lib/node_modules/phonegap/node_modules/phonegap-build-api/node_modules/request/node_modules/form-data/node_modules/async'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-04-23T13_22_10_767Z-debug.log
root@jeferson-pc:/# phonegap -v

Alguem sabe me dizer como desfazer esse erro.


  


2. Re: Erro ao instalar phonegap.

Kleber Santos
klebernox

(usa Deepin)

Enviado em 16/07/2017 - 22:52h

tenta rodar assim.. nessa ordem:

sudo npm install npm@3 -g
sudo npm install -g cordova
sudo npm install -g phonegap


3. Resposa - Erro ao instalar phonegap

marcio de souza
marcio_runner

(usa Slackware)

Enviado em 17/08/2017 - 15:29h

eu consegui fazendo da seguinte forma : apt install nodejs-legacy






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts