2014-09-05 3 views
0

strongloop으로 실험합니다. 노드 버전은 v0.10.31 visual studio 2013이 설치되어 있습니다.Windows Server 2012 R2에 strongloop을 설치하지 못했습니다.

npm 설치가 실패합니다.

이 경로가 의심스러운 :

node "c:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" 

콘솔 :

$ npm install -g strongloop 
/

> [email protected] install C:\Users\Bruce\AppData\Roaming\npm\node_modules\strongloop\node_modules\strong-supervisor\node_modules\node-syslog 
> node-gyp rebuild 
| 
C:\Users\Bruce\AppData\Roaming\npm\node_modules\strongloop\node_modules\strong-supervisor\node_modules\node-syslog> 

    node "c:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" 


rebuild 
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. 
syslog.cc 
c:\users\bruce\appdata\roaming\npm\node_modules\strongloop\node_modules\strong-supervisor\node_modules\node-syslog\node-syslog.h(8): fatal error C1083: Cannot open include file: 'syslog.h': No such file or directory [C:\Users\Bruce\AppData\Roaming\npm\node_modules\strongloop\node_modules\strong-supervisor\node_modules\node-syslog\build\syslog.vcxproj] 
gyp ERR! build error 
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.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:267:23) 
gyp ERR! stack  at ChildProcess.emit (events.js:98:17) 
gyp ERR! stack  at Process.ChildProcess._handle.onexit (child_process.js:810:12) 
gyp ERR! System Windows_NT 6.2.9200 
gyp ERR! command "node" "c:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" 
gyp ERR! cwd C:\Users\Bruce\AppData\Roaming\npm\node_modules\strongloop\node_modules\strong-supervisor\node_modules\node-syslog 
gyp ERR! node -v v0.10.31 
gyp ERR! node-gyp -v v1.0.1 
gyp ERR! not ok 
+0

심각한 오류 C1083 : 포함 파일을 열 수 없습니다 : 'syslog.h': 해당 파일이나 디렉토리가 없습니다. –

답변

0

노드 시스템 로그는, NPM 인쇄 오류가 옵션으로 의존성을 구축하는 데 실패하고있다 strongloop 설치를 계속합니다. 또는, 그것은 npm이해야 할 일이며 대개는 않습니다.

실제로 위에서 strongloop이 올바르게 설치되었는지 여부는 알 수 없습니다.

"의심스러운"경로는 npm이 자체적으로 node-gyp의 내부 사본을 호출하고 있음을 표시합니다. 왜 그것이 .. 그리고 모두를 사용하는지 모르겠다. 당신은 그들에게 물을 수있다. 그러나 그것은 문제가 아니다.

+0

언급하지 않았습니다. 설치가 끝나면 "slc -v"를 실행하고 실행하면 strongloop이 성공적으로 설치되었습니다. –

관련 문제