Ir ao conteúdo
  • Cadastre-se

Morgana

Membro Júnior
  • Posts

    1
  • Cadastrado em

  • Última visita

posts postados por Morgana

  1. Estava instalando o Phonegap no meu notebook, que possui windows 10, e quando fui pra parte em que precisava rodar o comando "npm install -g phonegap" no prompt, os seguintes erros apareceram:

     

    Citação

     

    Microsoft Windows versão 10.0.10586 2015 Microsoft Corporation. Todos os direitos reservados.

    C:\Windows\system32>npm install -g phonegap
    npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
    npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
    npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

    [email protected] install C:\Users\Morgana Sartor\AppData\Roaming\npm\node_modules\phonegap\node_modules\connect-phonegap\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
    node-gyp rebuild

    C:\Users\Morgana Sartor\AppData\Roaming\npm\node_modules\phonegap\node_modules\connect-phonegap\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
    Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
    C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(5040,39
    ): error MSB4023: Cannot evaluate the item metadata "%(FullPath)". The item metadata "%
    (FullPath)" cannot be applied to the path "Release\obj\bufferutil\bufferutil.node". C:\
    Users\Morgana Sartor\AppData\Roaming\npm\node_modules\phonegap\node_modules\connect-pho
    negap\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-clien
    t\node_modules\ws\node_modules\bufferutil\build\Release\obj\bufferutil\bufferutil.node
    |[C:\Users\Morgana Sartor\AppData\Roaming\npm\node_modules\phonegap\node_modules\connect
    lient\node_modules\ws\node_modules\bufferutil\build\bufferutil.vcxproj]ules\engine.io-c
    gyp ERR! build error
    gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1
    gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
    gyp ERR! stack at emitTwo (events.js:87:13)
    gyp ERR! stack at ChildProcess.emit (events.js:172:7)
    gyp ERR! stack at Process.ChildProcess.handle.onexit (internal/childprocess.js:200:12)
    gyp ERR! System Windows_NT 10.0.10586
    gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
    gyp ERR! cwd C:\Users\Morgana Sartor\AppData\Roaming\npm\node_modules\phonegap\node_modules\connect-phonegap\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\bufferutil
    gyp ERR! node -v v4.4.4
    gyp ERR! node-gyp -v v3.3.1
    gyp ERR! not ok

    [email protected] install C:\Users\Morgana Sartor\AppData\Roaming\npm\node_modules\phonegap\node_modules\connect-phonegap\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
    node-gyp rebuild

    -
    C:\Users\Morgana Sartor\AppData\Roaming\npm\node_modules\phonegap\node_modules\connect-phonegap\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
    Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
    C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(5040,39
    ): error MSB4023: Cannot evaluate the item metadata "%(FullPath)". The item metadata "%
    (FullPath)" cannot be applied to the path "Release\obj\validation\validation.node". C:\
    Users\Morgana Sartor\AppData\Roaming\npm\node_modules\phonegap\node_modules\connect-pho
    negap\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-clien
    t\node_modules\ws\node_modules\utf-8-validate\build\Release\obj\validation\validation.n
    ode [C:\Users\Morgana Sartor\AppData\Roaming\npm\node_modules\phonegap\node_modules\con
    nect-phonegap\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.
    io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
    gyp ERR! build error
    gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1
    gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
    gyp ERR! stack at emitTwo (events.js:87:13)
    gyp ERR! stack at ChildProcess.emit (events.js:172:7)
    gyp ERR! stack at Process.ChildProcess.handle.onexit (internal/childprocess.js:200:12)
    gyp ERR! System Windows_NT 10.0.10586
    gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
    gyp ERR! cwd C:\Users\Morgana Sartor\AppData\Roaming\npm\node_modules\phonegap\node_modules\connect-phonegap\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
    gyp ERR! node -v v4.4.4
    gyp ERR! node-gyp -v v3.3.1
    gyp ERR! not ok
    npm WARN optional dep failed, continuing [email protected]
    npm WARN optional dep failed, continuing [email protected]
    C:\Users\Morgana Sartor\AppData\Roaming\npm\phonegap -> C:\Users\Morgana Sartor\AppData\Roaming\npm\node_modules\phonegap\bin\phonegap.js
    [email protected] C:\Users\Morgana Sartor\AppData\Roaming\npm\node_modules\phonegap
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

    C:\Windows\system32>apt-get install build-essential python2.7,

     

     

     

    Alguém pode me ajudar?

     

    OBS: Antes de eu mandá-lo para formatação, ele possuia o windows 8.1 e eu havia feito essa instalação sem problemas

Sobre o Clube do Hardware

No ar desde 1996, o Clube do Hardware é uma das maiores, mais antigas e mais respeitadas comunidades sobre tecnologia do Brasil. Leia mais

Direitos autorais

Não permitimos a cópia ou reprodução do conteúdo do nosso site, fórum, newsletters e redes sociais, mesmo citando-se a fonte. Leia mais

×
×
  • Criar novo...

 

GRÁTIS: ebook Redes Wi-Fi – 2ª Edição

EBOOK GRÁTIS!

CLIQUE AQUI E BAIXE AGORA MESMO!