Solucionado (ver solução)
Solucionado
(ver solução)
3
respostas

Problema ao instalar o SOAP

D:\Git\Nodejs REST\cardfast>npm install --save soap

ursa@0.9.4 install D:\Git\Nodejs REST\cardfast\node_modules\ursa node-gyp rebuild

D:\Git\Nodejs REST\cardfast\node_modules\ursa>if not defined npm_config_node_gyp (node "C:\Program Files (x86)\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\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK vers ion in the project property pages or by right-clicking the solution and selecting "Retarget solution". [D:\Git\Nodejs R EST\cardfast\node_modules\ursa\build\ursaNative.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 (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)

gyp ERR! stack at emitTwo (events.js:106:13)

gyp ERR! stack at ChildProcess.emit (events.js:191:7)

gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

gyp ERR! System Windows_NT 10.0.14393

gyp ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules \npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"

gyp ERR! cwd D:\Git\Nodejs REST\cardfast\node_modules\ursa

gyp ERR! node -v v6.10.3

gyp ERR! node-gyp -v v3.4.0

gyp ERR! not ok

cardfast@1.0.0 D:\Git\Nodejs REST\cardfast `-- soap@0.19.0

npm WARN cardfast@1.0.0 No description

npm WARN cardfast@1.0.0 No repository field.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules\ursa):

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: node-gyp rebuild

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

3 respostas

Julio, tudo bem ?

Não é a ordem que está errada ?

npm install soap --save

Oi Matheus, obrigado pelo retorno.

Infelizmente a ordem é irrelevante ali. O erro persiste de ambas as formas.

Tentei reinstalar o node-gyp, bem como deletar o conteúdo manualmente, conforme pesquisei no stackoverflow, mas por enquanto sigo sem conseguir instalar e por consequência compilar o projeto do curso.

PS: Editei a formatação do tópico para melhorar a leitura do erro.

solução!

Após inúmeras tentativas e diferentes erros, resolvi o problema. Se caso for útil para alguém, tente instalar o OpenSSL-Win32 e OpenSSL-Win64. Na sequencia, copiar o arquivo libeay32.lib da pasta do 32 para a ..\OpenSSL-Win64\lib.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software